Permalink
Browse files

DOC: fix order of return values in the scipy.signal.freqz docstring.

  • Loading branch information...
1 parent 35de19e commit 752aeff351580e3f8a62661554beb24a4bb645d6 @WarrenWeckesser WarrenWeckesser committed Aug 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 scipy/signal/filter_design.py
@@ -155,7 +155,7 @@ def freqz(b, a=1, worN=None, whole=0, plot=None):
--------
>>> from scipy import signal
>>> b = signal.firwin(80, 0.5, window=('kaiser', 8))
- >>> h, w = signal.freqz(b)
+ >>> w, h = signal.freqz(b)
>>> import matplotlib.pyplot as plt
>>> fig = plt.figure()

0 comments on commit 752aeff

Please sign in to comment.