From bc08a326f809560ab6552aabf621baace0cff7b4 Mon Sep 17 00:00:00 2001 From: matejkarasek Date: Mon, 15 Jan 2024 17:56:43 +0100 Subject: [PATCH] Fix typos in pzmap.py Fixed typos, possibly preventing from changing the marker color via optional argument --- control/pzmap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/control/pzmap.py b/control/pzmap.py index 59f378c39..a1f71da1f 100644 --- a/control/pzmap.py +++ b/control/pzmap.py @@ -228,7 +228,7 @@ def pole_zero_plot( Set the title of the plot. Defaults plot type and system name(s). marker_color : str, optional Set the color of the markers used for poles and zeros. - marker_color : int, optional + marker_size : int, optional Set the size of the markers used for poles and zeros. marker_width : int, optional Set the line width of the markers used for poles and zeros. @@ -370,7 +370,7 @@ def pole_zero_plot( if marker_color is None: color = color_cycle[(color_offset + idx) % len(color_cycle)] else: - color = maker_color + color = marker_color # Plot the locations of the poles and zeros if len(poles) > 0: