Skip to content

Add support for Plotly 2.0.0-rcX release candidates. #162

@xaxis-ii

Description

@xaxis-ii

The new Plotly 2.0.0 release candidates introduce a small number of breaking changes, the main issue being their deprecation of the old Plotly.plot(...) method in favour of Plotly.newPlot(...).

Attempting to use angular-plotly with Plotly 2.0.0 results in an error Invalid PlotlyJS object. Please check https://github.com/plotly/angular-plotly.js#quick-start since angular-plotly still uses the old method.

The method signatures appear not to differ between the versions (just the name), so I would suggest selecting either plot or newPlot based on availability to ensure backward compatibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions