AttributeError: 'Axes' object has no attribute 'get_axis_bgcolor'
See original GitHub issueSince matplotlib 2.2.0 the API has changed:
The Axes.get_axis_bgcolor, Axes.set_axis_bgcolor, Bbox.update_from_data, box.update_datalim_numerix, MaxNLocator.bin_boundaries methods have been removed.
and basemap throws the exception:
AttributeError: 'Axes' object has no attribute 'get_axis_bgcolor'
Is it possible to fix this easily?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
'AxesSubplot' object has no attribute 'get_axis_bgcolor'
I am trying to run Basemap examples from here and I am facing an error 'AxesSubplot' object has no attribute 'get_axis_bgcolor'.
Read more >Unknown property axisbg · Issue #7 · jawatson/pythonprop
Running pythonprop 0.27 under OSX 10.13.6 MacPorts with python 3.5.5 and ... /50691151/axessubplot-object-has-no-attribute-get-axis-bgcolor.
Read more >Geolocation visualisations | Kaggle
Explore and run machine learning code with Kaggle Notebooks | Using data from ... "AttributeError", "evalue": "'AxesSubplot' object has no attribute ...
Read more >matplotlib.figure — Matplotlib 3.6.2 documentation
Usually artists are added to Axes objects using Axes.add_artist ... If the added artist has no transform previously set, its transform will be...
Read more >gr.pygr — GR Framework 0.66.0 documentation
[docs]class Coords2D(object): def __init__(self, x, y, updatex_callback=None, ... _p.y is None: raise AttributeError("x or y has not been initialized.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@sebhahn note that in conda-forge we have separate packages for basemap and the bundle high resolution data. If you need both you can install them with:
If you do not need the extra 100 MB of high resolution data you can just install
basemap
.Thanks everybody!