Skip to content

Commit 278524e

Browse files
committed
Fix pzmap not showing zeroes due to hardcoded facecolors argument being 'none'
1 parent a007fcc commit 278524e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

control/pzmap.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ def pzmap(sys, Plot=True, title='Pole Zero Map'):
7979
if len(poles) > 0:
8080
plt.scatter(real(poles), imag(poles), s=50, marker='x')
8181
if len(zeros) > 0:
82-
plt.scatter(real(zeros), imag(zeros), s=50, marker='o',
83-
facecolors='none')
82+
plt.scatter(real(zeros), imag(zeros), s=50, marker='o')
83+
8484
# Add axes
8585
#Somewhat silly workaround
8686
plt.axhline(y=0, color='black')

0 commit comments

Comments
 (0)