Skip to content

Commit

Permalink
Update sig_sys_tools.py
Browse files Browse the repository at this point in the history
- remove use_line_collection
  • Loading branch information
fs446 committed Nov 1, 2023
1 parent a60443b commit 6ef84e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sig_sys_tools.py
Expand Up @@ -142,7 +142,6 @@ def plot_dtlti_analysis(z, p, k, fs=1, Nf=2**10, Nt=2**5):
# plot impulse response
ax2 = plt.subplot(3, 2, 2)
ax2.stem(np.squeeze(h[0]), np.squeeze(h[1]),
use_line_collection=True,
linefmt='C0:', markerfmt='C0o', basefmt='C0:')
ax2.xaxis.set_major_locator(MaxNLocator(integer=True))
ax2.grid(True)
Expand All @@ -166,7 +165,7 @@ def plot_dtlti_analysis(z, p, k, fs=1, Nf=2**10, Nt=2**5):

# plot step response
ax4 = plt.subplot(3, 2, 4)
ax4.stem(np.squeeze(he[0]), np.squeeze(he[1]), use_line_collection=True,
ax4.stem(np.squeeze(he[0]), np.squeeze(he[1]),
linefmt='C0:', markerfmt='C0o', basefmt='C0:')
ax4.xaxis.set_major_locator(MaxNLocator(integer=True))
ax4.grid(True)
Expand Down

0 comments on commit 6ef84e1

Please sign in to comment.