python-windrose / windrose

A Python Matplotlib, Numpy library to manage wind data, draw windrose (also known as a polar rose plot), draw probability density function and fit Weibull distribution
https://python-windrose.github.io/windrose
Other
339 stars 133 forks source link

fix matplotlib deprecation warnings #201

Closed jkittner closed 2 years ago

jkittner commented 2 years ago

this fixes a deprecation warning for using the matplotlib.doctstring module and the copy decorator. I simply added the decorator as a private part. this also fixes a deprecation warning for passing loc as a positional argument to legend.Legend