Skip to content

Commit b7baec0

Browse files
committed
GrouperView.join() is deprecated, call highlevel sharex if needed
1 parent 6c90c20 commit b7baec0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

control/sisotool.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,11 @@ def _SisotoolUpdate(sys, fig, K, bode_plot_params, tvect=None):
158158
ax_phase.set_xlabel(ax_phase.get_xlabel(),fontsize=label_font_size)
159159
ax_phase.set_ylabel(ax_phase.get_ylabel(),fontsize=label_font_size)
160160
ax_phase.get_xaxis().set_label_coords(0.5, -0.15)
161-
ax_phase.get_shared_x_axes().join(ax_phase, ax_mag)
162161
ax_phase.tick_params(axis='both', which='major', labelsize=label_font_size)
163162

163+
if not ax_phase.get_shared_x_axes().joined(ax_phase, ax_mag):
164+
ax_phase.sharex(ax_mag)
165+
164166
ax_step.set_title('Step response',fontsize = title_font_size)
165167
ax_step.set_xlabel('Time (seconds)',fontsize=label_font_size)
166168
ax_step.set_ylabel('Output',fontsize=label_font_size)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy