How likely are plotly graph jsons to be forward compatible?

Hi all,

I’m looking to warehouse some graphs and would like to retain plotly’s interactive features. There’s of course no way to guarantee that a (data, layout) json structure that I save today will correctly generate a graphic on a future version of plotly, but historically, how good has plotly been at continuing to render old json correctly (not necessarily identically) when new versions roll out? Is it a development priority?

Hi @tobiashagge!

I’m not a long-term-user of plotly (yet), but according to Plotly’s CONTRIBUTING-file:

This project has a strong commitment to backwards-compatibility, so changing the graphical output for existing schema attributes and values, or changing the default value of an attribute, is generally only done as a mostly-backwards-compatible bug fix, for cases when the current graphical output is incorrect, nonsensical or otherwise very problematic.

Just a few weeks ago a new major release of plotly.js (3.0.0) was published and using my JSON from the 2.x version worked flawlessly without any problems.

So I’d say backward compatibility is good :slight_smile:

hth,
Martin