diff --git a/lib/matplotlib/collections.py b/lib/matplotlib/collections.py index 3bdf84ba124..2a33ba21b37 100644 --- a/lib/matplotlib/collections.py +++ b/lib/matplotlib/collections.py @@ -510,7 +510,7 @@ def set_linestyle(self, ls): =========================== ================= ``'-'`` or ``'solid'`` solid line ``'--'`` or ``'dashed'`` dashed line - ``'-.'`` or ``'dash_dot'`` dash-dotted line + ``'-.'`` or ``'dashdot'`` dash-dotted line ``':'`` or ``'dotted'`` dotted line =========================== ================= diff --git a/lib/matplotlib/lines.py b/lib/matplotlib/lines.py index ca99d7ccf1b..32b51df5cf2 100644 --- a/lib/matplotlib/lines.py +++ b/lib/matplotlib/lines.py @@ -1011,7 +1011,7 @@ def set_linestyle(self, ls): =========================== ================= ``'-'`` or ``'solid'`` solid line ``'--'`` or ``'dashed'`` dashed line - ``'-.'`` or ``'dash_dot'`` dash-dotted line + ``'-.'`` or ``'dashdot'`` dash-dotted line ``':'`` or ``'dotted'`` dotted line ``'None'`` draw nothing ``' '`` draw nothing diff --git a/lib/matplotlib/patches.py b/lib/matplotlib/patches.py index d864ccf3277..87c2e24d1a8 100644 --- a/lib/matplotlib/patches.py +++ b/lib/matplotlib/patches.py @@ -370,7 +370,7 @@ def set_linestyle(self, ls): =========================== ================= ``'-'`` or ``'solid'`` solid line ``'--'`` or ``'dashed'`` dashed line - ``'-.'`` or ``'dash_dot'`` dash-dotted line + ``'-.'`` or ``'dashdot'`` dash-dotted line ``':'`` or ``'dotted'`` dotted line =========================== =================