We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbf7292 commit 80a4031Copy full SHA for 80a4031
lib/matplotlib/tests/test_mathtext.py
@@ -571,6 +571,13 @@ def test_boldsymbol(fig_test, fig_ref):
571
fig_ref.text(0.1, 0.2, r"$\mathrm{abc0123\alpha}$")
572
573
574
+@check_figures_equal()
575
+def test_mathnormal(fig_test, fig_ref):
576
+ # ensure that \mathnormal is parsed and sets digits upright
577
+ fig_test.text(0.1, 0.2, r"$\mathnormal{0123456789}$")
578
+ fig_ref.text(0.1, 0.2, r"$\mathrm{0123456789}$")
579
+
580
581
def test_box_repr():
582
s = repr(_mathtext.Parser().parse(
583
r"$\frac{1}{2}$",
0 commit comments