【求助】风玫瑰图
小弟是新人,刚刚开始学习python做一个风玫瑰图的时候报错。 即使是用官方提供的示例代码也会出现这样的问题。
https://
百般无奈,只能请教各位大神了
Traceback (most recent call last):
File "D:/PycharmProjects/1/WindRose.py", line 26, in <module>
ax = new_axes()
File "D:/PycharmProjects/1/WindRose.py", line 15, in new_axes
ax = WindroseAxes(fig, rect, axisbg='w')
File "D:\PycharmProjects\1\venv\lib\site-packages\windrose\windrose.py", line 60, in __init__
PolarAxes.__init__(self, *args, **kwargs)
File "D:\PycharmProjects\1\venv\lib\site-packages\matplotlib\projections\polar.py", line 854, in __init__
Axes.__init__(self, *args, **kwargs)
File "D:\PycharmProjects\1\venv\lib\site-packages\matplotlib\axes\_base.py", line 539, in __init__
self.update(kwargs)
File "D:\PycharmProjects\1\venv\lib\site-packages\matplotlib\artist.py", line 888, in update
for k, v in props.items()]
File "D:\PycharmProjects\1\venv\lib\site-packages\matplotlib\artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "D:\PycharmProjects\1\venv\lib\site-packages\matplotlib\artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
File "D:/PycharmProjects/1/WindRose.py", line 26, in <module>
ax = new_axes()
File "D:/PycharmProjects/1/WindRose.py", line 15, in new_axes
ax = WindroseAxes(fig, rect, axisbg='w')
File "D:\PycharmProjects\1\venv\lib\site-packages\windrose\windrose.py", line 60, in __init__
PolarAxes.__init__(self, *args, **kwargs)
File "D:\PycharmProjects\1\venv\lib\site-packages\matplotlib\projections\polar.py", line 854, in __init__
Axes.__init__(self, *args, **kwargs)
File "D:\PycharmProjects\1\venv\lib\site-packages\matplotlib\axes\_base.py", line 539, in __init__
self.update(kwargs)
File "D:\PycharmProjects\1\venv\lib\site-packages\matplotlib\artist.py", line 888, in update
for k, v in props.items()]
File "D:\PycharmProjects\1\venv\lib\site-packages\matplotlib\artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "D:\PycharmProjects\1\venv\lib\site-packages\matplotlib\artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg