From 5fc263e4c41b9442258f358eb3a5139c915173b1 Mon Sep 17 00:00:00 2001 From: Joseph Fox-Rabinovitz Date: Mon, 27 Jun 2016 16:08:07 -0400 Subject: [PATCH] DOC: Incorrect rendering of dashes Without double-backticks, '--' renders as a single en-dash in sphinx. See parameters section: http://matplotlib.org/api/lines_api.html#matplotlib.lines.Line2D.set_linestyle --- lib/matplotlib/lines.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/lines.py b/lib/matplotlib/lines.py index 18a1d8186a8e..0ded319aacf9 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):