-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
mplexporter not getting Collection offset position due to matplotlib API changes in v3.5 #3624
Comments
facing similar issue with
it seems the reason is |
@cylammarco are you waiting for the fix or you managed to find some sort of workaround here? |
@alberttorosyan Speaking out loud, it should be a simple fix that requires changes in a few lines at: plotly.py/packages/python/plotly/plotly/matplotlylib/mplexporter/exporter.py Lines 289 to 300 in 4b53922
However, Plotly doesn't have a development/contribution guide, I don't know how they would like to handle this kind of deprecation. any thoughts? |
@cylammarco thinking the same here... |
seems like it isn't as straightforward as I thought:
the mplexporter cannot grab the 'data' post-v3.5 |
we finally moved away from this. |
I'm not using Plotly directly but mplleaflet and I got the same error. I managed to make it work by replacing in this exporter.py file Hope it helps someone! |
I tried it. Expected renko plot however I only got the bar chart. |
any update here? Are we stuck with using matplotlib 3.4? |
@SiddhantSadangi I have not done anything against this issue :| #3624 (comment) is probably the best solution at the moment(?). |
This unfortunately won't work in our case as we use github actions :( |
Is there a way that I can help? This issue is now a year and a half old. This behavior breaks Weights and Balances's use of Matplotlib. |
Fixed in #4372 (thanks @NeilGirdhar 🙇 ), I expect we'll release next week with the next plotly.js minor. |
It's still happening. |
Using plotly 5.6.0 and matplotlib 3.5.1
https://matplotlib.org/devdocs/api/prev_api_changes/api_changes_3.5.0.html#classes-methods-and-attributes
Example code to reproduce the problem:
gives
The text was updated successfully, but these errors were encountered: