Skip to content

Commit 2b897b8

Browse files
committed
docstring updates
1 parent 8d56205 commit 2b897b8

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2013-06-10 Richard Murray <murray@altura-2.local>
2+
3+
* src/xferfcn.py (TransferFunction.horner): small fix to docstring
4+
5+
* src/freqplot.py (nyquist_plot): small fix to docstring
6+
17
2013-06-09 Richard Murray <murray@altura-2.local>
28

39
* tests/bdalg_test.py (TestFeedback.testScalarSS)

src/freqplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def nyquist_plot(syslist, omega=None, Plot=True, color='b',
204204
Examples
205205
--------
206206
>>> sys = ss("1. -2; 3. -4", "5.; 7", "6. 8", "9.")
207-
>>> real, imag, freq = nyquist(sys)
207+
>>> real, imag, freq = nyquist_plot(sys)
208208
"""
209209
# If argument was a singleton, turn it into a list
210210
if (not getattr(syslist, '__iter__', False)):

src/xferfcn.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,10 +545,10 @@ def evalfr(self, omega):
545545
return self.horner(s)
546546

547547
def horner(self, s):
548-
'''Evaluate the systems's transfer function for a complex variable
548+
"""Evaluate the systems's transfer function for a complex variable
549549
550550
Returns a matrix of values evaluated at complex variable s.
551-
'''
551+
"""
552552

553553
# Preallocate the output.
554554
if getattr(s, '__iter__', False):

0 commit comments

Comments
 (0)