Skip to content

Commit 1a04541

Browse files
committed
allow title to be None in _update_plot_title (fixes markov.py crash)
1 parent 9f143ec commit 1a04541

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

control/ctrlplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ def _make_legend_labels(labels, ignore_common=False):
519519

520520
def _update_plot_title(
521521
title, fig=None, frame='axes', use_existing=True, **kwargs):
522-
if title is False:
522+
if title is False or title is None:
523523
return
524524
if fig is None:
525525
fig = plt.gcf()

0 commit comments

Comments
 (0)