-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
New Plotly.js update broke ? ''ERROR TypeError: Cannot read property 'map' of undefined'' #30
Comments
Since a new version of plotly.js has caused a breakage, I'm curious to know if this repo is still being maintained. A PR was created 4 days ago, but the last commit was over 3 months ago. Are there plans for angular-plotly.js to keep up with plotly.js releases? |
So you confirm that this module is also no longer functioning with the latest plotly.js for you as well? |
It works for me on version 1.43.1, but only with a barebones configuration (simple |
In principle, no updates are needed to this repo for new versions of plotly.js, as the plotly.js team tries very hard to make every release backwards-compatible. We'll look into what happened in this release specifically that broke things. In the meantime, we strongly recommend version pinning for production code: if your code worked with plotly.js 1.42.5 and you don't need new features from 1.43.1, then I recommend that your package.json should pin to 1.42.5 :) |
@Alterock13 Yes. That would be helpful. Thanks. |
Well, actually, I did pin it to 1.42.5 but it wasn't enough for my case. I also had to tweak my head section to change from
Sure ! Here they are :
Layout
Options |
This is probably related to plotly/plotly.js#3276 where we deprecated @Alterock13 could you try:
to see if things work? |
Hi ! Yup, I had seen that in the changelog when the bug occured and tried but to no success. |
@Alterock13 |
Hi,
I've been using plotly for quite some time now and everything in my app was working rather fine.
However, since about 12 days ago, my app stopped working without any change in the code.
or Plotly.update give the same error :
I can provide the contents of 'this.layout', 'this.traces' and 'this.options' if necessary.
I've noticed that a few hours before this problem, plotly.js had been updated with version 1.43.0
Is it due to an API change that would cause the angular wrapper to malfunction?
Can anyone tell me if they have had issues with it too since the update?
For now the fix I've made is to specify in head :
<script src="https://cdn.plot.ly/plotly-1.42.5.min.js"></script>
Rather than the latest.
The text was updated successfully, but these errors were encountered: