hiding globals for plotly related code