-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
'XAxis' object has no attribute '_gridOnMajor' #2913
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
Comments
Thanks for the detailed bug report! We're not really actively maintaining the matplotlib to Plotly system any more to be honest, so this kind of "rot" is a bit to be expected. We would probably accept a pull request if it's backwards-compatible though! |
Thanks @nicolaskruchten for getting back to me. Also @carlinmack for submitting a quick fix. I would appreciate the merge if/when tests pass! (: |
oh sorry that's in a different repository that has the same issue! It's a really simple fix though ( |
…ntained anymore, see this issue plotly/plotly.py#2913
* update notebooks * remove metadata from cells during tests * update content and contextily installation * add descartes * typo * update installation manual * update gitignore * move groundwater model directory * update gitignore * restructure and update practical examples * last update for now * add cbs_data analyse * update twitter analysis * reinstate some files to be ignored * remove error in camel_bananas function * update camel problem * modify text * remove notebook metadata as well (and not only cell metadata) * minor changes * remove all metadata from notebooks * add on-topic to test * update travis requirements * fix travis test errors * add pyproj to travis req * add proj to travis req * add proj4 to travis req * remove proj from req * another attempt to let travis install cartopy * another attempt to let travis install cartopy * another attempt to let travis install cartopy * another attempt to let travis install cartopy * another attempt to let travis install cartopy * another attempt to let travis install cartopy * another attempt to let travis install cartopy * another attempt to let travis install cartopy * another attempt to let travis install cartopy * another attempt to let travis install cartopy * another day another attempt: * another day another attempt: * another day another attempt: * another day another attempt: * add dependencies * add dependency * remove first folium notebook from tests because mplleaflet is not maintained anymore, see this issue plotly/plotly.py#2913
Any update on this? Looks like it may have been added, but doesn't look like a pull request was accepted yet? Did somebody do this yet? If not I'm happy to go to the locations highlighted by @tssweeney and put the line that @carlinmack suggested to submit a pull request. |
Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for several years, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Thanks for your help - @gvwilson |
Hello, matplotlib recently merged a change that removed provide variables from Axis: matplotlib/matplotlib#18769. There are at least 2 places in plotly code that reference these variables:
plotly.py/packages/python/plotly/plotly/matplotlylib/mplexporter/utils.py
Line 246 in 65625d4
plotly.py/packages/python/plotly/plotly/matplotlylib/mplexporter/renderers/base.py
Line 21 in 65625d4
plotly.py/packages/python/plotly/plotly/matplotlylib/mplexporter/renderers/base.py
Line 25 in 65625d4
In particular I hit this bug when converting matplotlib to pyplot.
Repro:
results in
FWIW, i think the fix is to replace these calls with
_major_tick_kw['gridOn']
.Thank you,
Tim
The text was updated successfully, but these errors were encountered: