Closed jvatantollone closed 6 years ago
Thanks @jvatantollone this is great because I made a couple commits recently trying to make planetoplot compatible with latest versions, but I overlooked this axisbg problem. I removed this option. Are there other problems?
Great it works again now ! Will let you know here if others appear.
It works again but there is a problem still with basemap. A bit more difficult to fix, I have to look
There is a problem with basemap, it must be updated via conda-forge
It works with this setting
conda create -n planetoplot python=2.7
source activate planetoplot
conda install numpy matplotlib netcdf4
conda install -c conda-forge basemap
The version of basemap
in conda does not work:
AttributeError: 'AxesSubplot' object has no attribute 'get_axis_bgcolor'
So the version of basemap
must be installed with conda-forge
to have the latest version where the problem is fixed
Some of the changes brought in matplotlib 2.0+ (https://matplotlib.org/api/api_changes.html) since last year, lead to crashes and incompatibility of planetoplot...
Especially "The axisbg and axis_bgcolor properties on Axes have been deprecated in favor of facecolor." is quite annoying ...
To be short, we cannot plot anything with latest versions of mpl as long as this one (at least) is not fixed ...