Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
diode-characteristic-curve.py: fix TypeError: LogScale.__init__() got…
… an unexpected keyword argument 'basey' Error : Traceback (most recent call last): File "***/PySpice/examples/diode/diode-characteristic-curve.py", line 187, in <module> ax2.semilogy(analysis.out, static_resistance, basey=10) File "***/pyspice3.11-venv/lib/python3.11/site-packages/matplotlib/axes/_axes.py", line 1958, in semilogy self.set_yscale('log', **d) File "***/pyspice3.11-venv/lib/python3.11/site-packages/matplotlib/axes/_base.py", line 73, in wrapper return get_method(self)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "***/pyspice3.11-venv/lib/python3.11/site-packages/matplotlib/axis.py", line 837, in _set_axes_scale ax._axis_map[name]._set_scale(value, **kwargs) File "***/pyspice3.11-venv/lib/python3.11/site-packages/matplotlib/axis.py", line 796, in _set_scale self._scale = mscale.scale_factory(value, self, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "***/pyspice3.11-venv/lib/python3.11/site-packages/matplotlib/scale.py", line 717, in scale_factory return scale_cls(axis, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: LogScale.__init__() got an unexpected keyword argument 'basey'
- Loading branch information