Graph are different in notebook and Dash

I create a function to plot data in python. I can use it in Notebook (for analysis) and now in Dash.

But there are some differences in display between notebook & Dash. Both have same data and code.

Any ideas ? :slight_smile:

Try upgrading both libraries. Dash gets its version of plotly.js from dash-core-components. plotly gets its version of plotly.js from plotly, and nteract / vscode get their version of plotly.js from a separate vscode plugin.