-
Notifications
You must be signed in to change notification settings - Fork 450
Closed
Labels
Description
Hi - When I run this code in Jupyter notebook I get different results:
from platform import python_version
print("Running Python:",python_version())
! pip list | grep control
from control import nyquist_plot, zpk
import matplotlib.pyplot as plt
G = zpk([], [0, -2, -3], gain=100)
fig, ax = plt.subplots(1,figsize=(4, 4),dpi=150,constrained_layout = True)
out = nyquist_plot(G,indent_points=100,indent_direction='left',indent_radius=0.25)
fig, ax = plt.subplots(1,figsize=(4, 4),dpi=150,constrained_layout = True)
out = nyquist_plot(G)
- Running Python: 3.8.19 and control 0.9.4 it works great and get pretty plot
- Running Python: 3.12.6 and control 0.10.1 I get: "AttributeError: Line2D.set() got an unexpected keyword argument 'indent_points' "
any thoughts?
thx
jon
p.s. would really like to understand better how these indent plot are made, bec the first "pretty plot" in (1) above is really hard to intepret
Reactions are currently unavailable