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
This means plotly.js will be a peer dependency of react-plotly.js. I learned today that peer dependencies are optional and just give a warning if not found. So the usage will either be that you import the factory and create your own, based on your own version of plotly, or that you import the component and it's up to you to npm install plotly.js so that it's available.
See also:
This will soon be published. Here are the choices:
A single module will export both the version with plotly and as a factory.
Or, alternatively,
This means
plotly.js
will be a peer dependency ofreact-plotly.js
. I learned today that peer dependencies are optional and just give a warning if not found. So the usage will either be that you import the factory and create your own, based on your own version of plotly, or that you import the component and it's up to you tonpm install plotly.js
so that it's available.See also:
Description will be
A Plotly.js react component from Plotly
./cc @bpostlethwaite @etpinard @monfera @nicolaskruchten
The text was updated successfully, but these errors were encountered: