From 5f39071d8186071c9668d8a79530173274c02113 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Thu, 14 May 2015 00:05:40 -0400 Subject: [PATCH] DOC : revert some documentation changes from #3772 --- lib/matplotlib/collections.py | 5 +++++ lib/matplotlib/lines.py | 6 ++++++ lib/matplotlib/patches.py | 5 +++++ 3 files changed, 16 insertions(+) diff --git a/lib/matplotlib/collections.py b/lib/matplotlib/collections.py index a37532f70c9b..d2f7a7081666 100644 --- a/lib/matplotlib/collections.py +++ b/lib/matplotlib/collections.py @@ -498,6 +498,11 @@ def set_linestyle(self, ls): where ``onoffseq`` is an even length tuple of on and off ink in points. + ACCEPTS: ['solid' | 'dashed', 'dashdot', 'dotted' | + (offset, on-off-dash-seq) | + ``'-'`` | ``'--'`` | ``'-.'`` | ``':'`` | ``'None'`` | + ``' '`` | ``''``] + Parameters ---------- ls : { '-', '--', '-.', ':'} and more see description diff --git a/lib/matplotlib/lines.py b/lib/matplotlib/lines.py index a86869342475..e04ff416e3da 100644 --- a/lib/matplotlib/lines.py +++ b/lib/matplotlib/lines.py @@ -949,6 +949,12 @@ def set_linestyle(self, ls): where ``onoffseq`` is an even length tuple of on and off ink in points. + + ACCEPTS: ['solid' | 'dashed', 'dashdot', 'dotted' | + (offset, on-off-dash-seq) | + ``'-'`` | ``'--'`` | ``'-.'`` | ``':'`` | ``'None'`` | + ``' '`` | ``''``] + .. seealso:: :meth:`set_drawstyle` diff --git a/lib/matplotlib/patches.py b/lib/matplotlib/patches.py index 1be5863cdd7c..bf65b002ccb6 100644 --- a/lib/matplotlib/patches.py +++ b/lib/matplotlib/patches.py @@ -360,6 +360,11 @@ def set_linestyle(self, ls): where ``onoffseq`` is an even length tuple of on and off ink in points. + ACCEPTS: ['solid' | 'dashed', 'dashdot', 'dotted' | + (offset, on-off-dash-seq) | + ``'-'`` | ``'--'`` | ``'-.'`` | ``':'`` | ``'None'`` | + ``' '`` | ``''``] + Parameters ---------- ls : { '-', '--', '-.', ':'} and more see description