Skip to content

Commit a40a566

Browse files
committed
Escape \ in math
1 parent 88cdac9 commit a40a566

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/matplotlib/cbook.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1906,7 +1906,9 @@ def boxplot_stats(X, whis=1.5, bootstrap=None, labels=None):
19061906
Non-bootstrapping approach to confidence interval uses Gaussian-based
19071907
asymptotic approximation:
19081908
1909-
.. math:: \mathrm{med} \pm 1.57 \times \frac{\mathrm{iqr}}{\sqrt{N}}
1909+
.. math::
1910+
1911+
\mathrm{med} \pm 1.57 \\times \\frac{\mathrm{iqr}}{\sqrt{N}}
19101912
19111913
General approach from:
19121914
McGill, R., Tukey, J.W., and Larsen, W.A. (1978) "Variations of

0 commit comments

Comments
 (0)