Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelw committed Dec 5, 2023
1 parent 53032c8 commit 81c2a25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ from filterdesign import filterplot
z, p, k = emqf.analog_lowpass(order=7, stopband_attenuation=50, f3db=True)

fig, (ax1, ax2) = plt.subplots(1, 2)
filterplot.plot_analog_filter_zpk((z, p, k), ax=ax[0])
filterplot.pole_zero_plot((z, p, k), unitcircle=True, ax=ax[1])
filterplot.plot_analog_filter_zpk((z, p, k), ax=ax1)
filterplot.pole_zero_plot((z, p, k), unitcircle=True, ax=ax2)
plt.show()
```

Expand Down
6 changes: 3 additions & 3 deletions examples/freq_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
fig_.tight_layout()


fig, ax = plt.subplots(1, 2)
filterplot.plot_analog_filter_zpk((z, p, k), ax=ax[0])
filterplot.pole_zero_plot((z, p, k), unitcircle=True, ax=ax[1])
fig, (ax1, ax2) = plt.subplots(1, 2)
filterplot.plot_analog_filter_zpk((z, p, k), ax=ax1)
filterplot.pole_zero_plot((z, p, k), unitcircle=True, ax=ax2)
# ax2.scatter(0, 1)

fig_.savefig("./examples/img/emqf_freq_zpk.png", dpi=200)
Expand Down

0 comments on commit 81c2a25

Please sign in to comment.