]> git.parisson.com Git - timeside.git/commitdiff
bugfix for tests on server systems without display (TclError: no display name and...
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 2 Dec 2013 21:54:00 +0000 (22:54 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 2 Dec 2013 21:54:00 +0000 (22:54 +0100)
timeside/grapher/utils.py

index b262650eeb8056cf2f591e67c19b0b86975c98fd..d09aeb52cb1bc4d63a45d5943b308bdf3d73bffe 100644 (file)
@@ -113,11 +113,11 @@ def smooth(x, window_len=10, window='hanning'):
     >>> x = np.sin(t)+np.random.randn(len(t))*0.1
     >>> y = smooth(x)
     >>> import matplotlib.pyplot as plt
-    >>> plt.plot(x) # doctest: +ELLIPSIS
+    >>> plt.plot(x) # doctest: +SKIP
     [<matplotlib.lines.Line2D object at 0x...>]
-    >>> plt.plot(y) # doctest: +ELLIPSIS
+    >>> plt.plot(y) # doctest: +SKIP
     [<matplotlib.lines.Line2D object at 0x...>]
-    >>> plt.legend(['Source signal', 'Smoothed signal']) # doctest: +ELLIPSIS
+    >>> plt.legend(['Source signal', 'Smoothed signal']) # doctest: +SKIP
     <matplotlib.legend.Legend object at 0x...>
     >>> plt.show() # doctest: +SKIP
     """