Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix pzmap not showing zeroes due to hardcoded facecolors argument bei…
…ng 'none'
  • Loading branch information
geez0x1 committed Jul 27, 2018
commit 278524e2c9d424d4e6af5efc59e475fdb30dc7a5
4 changes: 2 additions & 2 deletions control/pzmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ def pzmap(sys, Plot=True, title='Pole Zero Map'):
if len(poles) > 0:
plt.scatter(real(poles), imag(poles), s=50, marker='x')
if len(zeros) > 0:
plt.scatter(real(zeros), imag(zeros), s=50, marker='o',
facecolors='none')
plt.scatter(real(zeros), imag(zeros), s=50, marker='o')

# Add axes
#Somewhat silly workaround
plt.axhline(y=0, color='black')
Expand Down