-
Notifications
You must be signed in to change notification settings - Fork 131
Closed
Description
I am using the following codes to call windrose.py:
from windrose import WindroseAxes
from matplotlib import pyplot as plt
import matplotlib.cm as cm
import numpy as np
ws = np.random.random(500) * 6
wd = np.random.random(500) * 360
ax = WindroseAxes.from_ax()
ax.bar(wd, ws, normed=True, opening=0.8, edgecolor='white')
ax.set_legend()
The following is some messages of those deprecated function :
The Appender class was deprecated in Matplotlib 3.1 and will be removed in 3.3.
addendum = docstring.Appender(msg, "\n\n")
C:\python36\lib\site-packages\windrose\windrose.py:30: MatplotlibDeprecationWarning:
The copy_dedent function was deprecated in Matplotlib 3.1 and will be removed in 3.3. Use docstring.copy() and cbook.dedent() instead.
return lambda func: addendum(docstring.copy_dedent(base)(func))
C:\python36\lib\site-packages\windrose\windrose.py:30: MatplotlibDeprecationWarning:
The dedent function was deprecated in Matplotlib 3.1 and will be removed in 3.3. Use inspect.getdoc() instead.
return lambda func: addendum(docstring.copy_dedent(base)(func))
C:\python36\lib\site-packages\windrose\windrose.py:30: MatplotlibDeprecationWarning:
The dedent function was deprecated in Matplotlib 3.1 and will be removed in 3.3. Use inspect.cleandoc instead.
return lambda func: addendum(docstring.copy_dedent(base)(func))
What's wrong and How can I fix the problem?
Thanks for your kindness and reply.
Metadata
Metadata
Assignees
Labels
No labels