A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/python-control/python-control/issues/864 below:

Matplotlib 3.7 breaks nyquist_plot() · Issue #864 · python-control/python-control · GitHub

>>> nyquist(tf([1],[1,1]))


Traceback (most recent call last):
  File "/home/henklaak/Software/python-control/examples/secord-matlab.py", line 8, in <module>
    nyquist(tf([1],[1,1]))
  File "/home/henklaak/Software/python-control/control/matlab/wrappers.py", line 109, in nyquist
    _, contour = nyquist_plot(syslist, omega, *args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/henklaak/Software/python-control/control/freqplot.py", line 1027, in nyquist_plot
    plt.plot(
  File "/home/henklaak/anaconda3/envs/bla/lib/python3.11/site-packages/matplotlib/pyplot.py", line 2785, in plot
    return gca().plot(
           ^^^^^^^^^^^
  File "/home/henklaak/anaconda3/envs/bla/lib/python3.11/site-packages/matplotlib/axes/_axes.py", line 1690, in plot
    self.add_line(line)
  File "/home/henklaak/anaconda3/envs/bla/lib/python3.11/site-packages/matplotlib/axes/_base.py", line 2304, in add_line
    self._update_line_limits(line)
  File "/home/henklaak/anaconda3/envs/bla/lib/python3.11/site-packages/matplotlib/axes/_base.py", line 2327, in _update_line_limits
    path = line.get_path()
           ^^^^^^^^^^^^^^^
  File "/home/henklaak/anaconda3/envs/bla/lib/python3.11/site-packages/matplotlib/lines.py", line 1029, in get_path
    self.recache()
  File "/home/henklaak/anaconda3/envs/bla/lib/python3.11/site-packages/matplotlib/lines.py", line 681, in recache
    self._x_filled[nanmask] = np.interp(
                              ^^^^^^^^^^
  File "<__array_function__ internals>", line 200, in interp
  File "/home/henklaak/anaconda3/envs/bla/lib/python3.11/site-packages/numpy/lib/function_base.py", line 1595, in interp
    return interp_func(x, xp, fp, left, right)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: array of sample points is empty

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4