OK, so the data it seems already contains the config info so what you do in JavaScript is something like this:

d = {{ graphJSON | safe }};

d.config={staticPlot: true};

Plotly.newPlot('chart', d, {});

i.e. add the config to the data before plotting it

I imagine you can do this at the server end too but not quite sure how, yet

Technology, data science and programming

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alan Jones

Alan Jones

Technology, data science and programming

More from Medium

Swargarohini Trek — Route To Heaven

FM22 JRN: Dulwich Hamlet 21/22

grocery runs

Indian Trade in Electronics