Skip to content
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

MatplotlibDeprecationWarning: The axesPatch function was deprecated in version 2.1. Use Axes.patch instead. #13

Open
austinholland opened this issue May 6, 2018 · 0 comments

Comments

@austinholland
Copy link
Owner

This error was created running example_1dassociator

/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mpl_toolkits/basemap/init.py:1704: MatplotlibDeprecationWarning: The axesPatch function was deprecated in version 2.1. Use Axes.patch instead.
limb = ax.axesPatch
/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mpl_toolkits/basemap/init.py:1707: MatplotlibDeprecationWarning: The axesPatch function was deprecated in version 2.1. Use Axes.patch instead.
if limb is not ax.axesPatch:
Traceback (most recent call last):
File "example_1dassociator_OK.py", line 87, in
plt.event_plot(1,west = -104.5, east= -94, south = 33.5, north = 37.5, deltalon = 1.0, deltalat = 1.0)
File "../phasepapy/associator/plot1D.py", line 238, in event_plot
subax = add_subplot_axes(ax,subpos)
File "../phasepapy/associator/plot1D.py", line 26, in add_subplot_axes
subax = fig.add_axes([x,y,width,height],axisbg=axisbg)
File "/usr/local/lib/python3.6/site-packages/matplotlib/figure.py", line 1136, in add_axes
a = projection_class(self, rect, **kwargs)
File "/usr/local/lib/python3.6/site-packages/matplotlib/axes/_base.py", line 539, in init
self.update(kwargs)
File "/usr/local/lib/python3.6/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/usr/local/lib/python3.6/site-packages/matplotlib/artist.py", line 888, in
for k, v in props.items()]
File "/usr/local/lib/python3.6/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant