diff --git a/lib/matplotlib/lines.py b/lib/matplotlib/lines.py index 18a1d8186a8..0ded319aacf 100644 --- a/lib/matplotlib/lines.py +++ b/lib/matplotlib/lines.py @@ -1075,7 +1075,7 @@ def set_linestyle(self, ls): Parameters ---------- - ls : { '-', '--', '-.', ':'} and more see description + ls : { ``'-'``, ``'--'``, ``'-.'``, ``':'``} and more see description The line style. """ if not is_string_like(ls):