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

How to use plotly.js-dist with react-plotly.js? #258

Open
dmbarry86 opened this issue Sep 6, 2021 · 0 comments · May be fixed by #260
Open

How to use plotly.js-dist with react-plotly.js? #258

dmbarry86 opened this issue Sep 6, 2021 · 0 comments · May be fixed by #260

Comments

@dmbarry86
Copy link

As per below issue, we were instructed to switch from plotly.js to plotly.js-dist to work around an error with plotly.js version 2.5.0. However, in doing this we then get errors when trying to import from react-plotly.js. Is there a way to use react-plotly.js with plotly.js-dist?

What's the reasoning behind not using ploly.js-dist then?

We're actually using react-plotly in our React project. Switching from plotly.js to plotly.js-dist resolves the npm ci issue but we then get errors when importing from react-plotly.js. Is there a way to use react-plotly with plotly.js-dist?

image

I see. Please open an issue or pull request on react-plotly.js and paste the link here.

Originally posted by @archmoj in plotly/plotly.js#5925 (comment)

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

Successfully merging a pull request may close this issue.

1 participant