You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Plotly.react model we are asking the user to update gd.data and gd.layout in their application code. As such it might be useful to expose some logic that can wrap intricacies such as
The reorganization I'm doing as part of #2125 will simplify Axes.list substantially, so requiring it directly may become viable, but we can discuss that when I get that PR up, might not even be necessary at that point. I'm sure @etpinard would approve if we can avoid exposing innards like that!
@alexcjohnson it is possible to require Axes.list statically but without tree shaking you end up including a lot of extra plotly.js bytes in the bundle https://github.com/plotly/plotly.js/blob/master/src/plots/cartesian/axis_ids.js#L11-L15
In the Plotly.react model we are asking the user to update gd.data and gd.layout in their application code. As such it might be useful to expose some logic that can wrap intricacies such as
plotly.js/src/plot_api/plot_api.js
Lines 1726 to 1736 in aa67de2
I'll update this issue with suggestions once I implement some more of the Axes update code in the App I am working on.
The text was updated successfully, but these errors were encountered: