Open cdivry opened 1 year ago
Here's a little fix to update matplotlib latest axis usage
TypeError: LogScale.__init__() got an unexpected keyword argument 'basex'
related issues :
https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.semilogx.html https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.semilogy.html
axis.semilog plots now expects base keyword argument
base
requirements :
matplotlib==3.8.0 numpy==1.26.1
test / reproduce :
python3 examples/filter/low-pass-rc-filter.py
we could even remove this explicit arg, because the default value for base is already 10 https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.semilogx.html#matplotlib-axes-axes-semilogx
10
Fixing semilog plots from matplotlib
Here's a little fix to update matplotlib latest axis usage
related issues :
new behavior :
https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.semilogx.html https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.semilogy.html
axis.semilog plots now expects
base
keyword argumenthow to reproduce the bug / test the merge request
requirements :
test / reproduce :