GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix warnings generated by sisotool · python-control/python-control@7ae6d0a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • control
    • rlocus.py
    • sisotool.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎control/rlocus.py‎

Copy file name to clipboardExpand all lines: control/rlocus.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def root_locus(sys, kvect=None, xlim=None, ylim=None,
180180
fig.axes[1].plot(
181181
[root.real for root in start_mat],
182182
[root.imag for root in start_mat],
183-
'm.', marker='s', markersize=8, zorder=20, label='gain_point')
183+
marker='s', markersize=8, zorder=20, label='gain_point')
184184
s = start_mat[0][0]
185185
if isdtime(sys, strict=True):
186186
zeta = -np.cos(np.angle(np.log(s)))
@@ -628,7 +628,7 @@ def _RLFeedbackClicksPoint(event, sys, fig, ax_rlocus, sisotool=False):
628628
ax_rlocus.plot(
629629
[root.real for root in mymat],
630630
[root.imag for root in mymat],
631-
'm.', marker='s', markersize=8, zorder=20, label='gain_point')
631+
marker='s', markersize=8, zorder=20, label='gain_point')
632632
else:
633633
ax_rlocus.plot(s.real, s.imag, 'k.', marker='s', markersize=8,
634634
zorder=20, label='gain_point')
Collapse file

‎control/sisotool.py‎

Copy file name to clipboardExpand all lines: control/sisotool.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ def sisotool(sys, kvect=None, xlim_rlocus=None, ylim_rlocus=None,
8181

8282
# Setup sisotool figure or superimpose if one is already present
8383
fig = plt.gcf()
84-
if fig.canvas.get_window_title() != 'Sisotool':
84+
if fig.canvas.manager.get_window_title() != 'Sisotool':
8585
plt.close(fig)
8686
fig,axes = plt.subplots(2, 2)
87-
fig.canvas.set_window_title('Sisotool')
87+
fig.canvas.manager.set_window_title('Sisotool')
8888

8989
# Extract bode plot parameters
9090
bode_plot_params = {

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.