Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plotly.js 2.0 compatibility #255

Open
nicolaskruchten opened this issue Jan 21, 2021 · 1 comment
Open

Plotly.js 2.0 compatibility #255

nicolaskruchten opened this issue Jan 21, 2021 · 1 comment

Comments

@nicolaskruchten
Copy link

Hi there,

I lead the graphing libraries team at Plotly where we're busy working on version 2.0 of Plotly.js. I'm reaching out to folks who we know are "downstream" of Plotly.js to give you a heads-up about the changes so you can let me know if/how disruptive they're likely to be for you :)

Our approach here is not to make gratuitous breaking changes, but mostly to drop support for un/under-used functionality that slows down development for frequently-used functionality. We expect that the vast majority of users of Plotly.js and downstream systems like Plotly.py, Plotly.R, PlotlyJS.jl, Plotly.NET etc will be unaffected by these changes. The tracking issue we've got going is here plotly/plotly.js#5395

The major changes include, at the Javascript layer:

  • dropping IE 9/10 support due to a switch in the Promise polyfill we're using, for security reasons
  • dropping exports of old versions of d3 modules under Plotly.d3 (so we can upgrade them internally)
  • dropping some exports of deprecated methods like Plotly.plot in favour of Plotly.newPlot and Plotly.react

The major changes at the schema layer:

  • dropping support for pointcloud, area and contourgl traces, as well as the legacy polar attributes from scatter like scatter.r and layout.angularaxis
  • dropping the role key from the schema altogether

I'm happy to answer any questions or consider changing our plans if it can avoid some major downstream disruption, so please get in touch or reply to this issue or to plotly/plotly.js#5395 :)

Nicolas

@Tasselmi
Copy link

likely to see plotly-scala to support plotly.js 2.0 ~~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants