Skip to content

Commit 5d0450b

Browse files
committed
change phase_plane_plot to use axes.set_title instead of fig.suptitle
1 parent 44ccafb commit 5d0450b

2 files changed

Lines changed: 34 additions & 34 deletions

File tree

control/phaseplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def _create_kwargs(global_kwargs, local_kwargs, **other_kwargs):
201201
raise TypeError("unrecognized keywords: ", str(initial_kwargs))
202202

203203
if fig is not None:
204-
fig.suptitle(f"Phase portrait for {sys.name}")
204+
ax.set_title(f"Phase portrait for {sys.name}")
205205
ax.set_xlabel(sys.state_labels[0])
206206
ax.set_ylabel(sys.state_labels[1])
207207

examples/cds101_invpend-dynamics.ipynb

Lines changed: 33 additions & 33 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)