From a122fc5c56590aa44f5b34c7c5b4338ec43a3bd2 Mon Sep 17 00:00:00 2001 From: Per A Brodtkorb Date: Wed, 29 Jun 2016 01:26:58 +0200 Subject: [PATCH] fixed failing doctest --- wafo/containers.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/wafo/containers.py b/wafo/containers.py index f85fa78..a6b8a25 100644 --- a/wafo/containers.py +++ b/wafo/containers.py @@ -129,7 +129,8 @@ class PlotData(object): >>> hi = di.plot() >>> h = d.plot() - >>> di.to_cdf() + >>> dicdf = di.to_cdf() + >>> h = dicdf.plot() See also @@ -606,5 +607,5 @@ def test_docstrings(): if __name__ == '__main__': - #test_docstrings() - test_plotdata() + test_docstrings() + #test_plotdata()