Skip to content

Commit d23db61

Browse files
committed
Revert commit fb31d90 and change the SVG-as-text test.
This is to check whether the CI tests fail (they should).
1 parent fb31d90 commit d23db61

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

lib/matplotlib/tests/baseline_images/test_mathtext/mathtext0_cm_00.svg

Lines changed: 1 addition & 1 deletion
Loading

lib/matplotlib/tests/baseline_images/test_mathtext/mathtext0_dejavusans_00.svg

Lines changed: 1 addition & 1 deletion
Loading

lib/matplotlib/tests/test_mathtext.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
# 'svgastext' tests switch svg output to embed text as text (rather than as
120120
# paths).
121121
svgastext_math_tests = [
122-
r'$-$-',
122+
r'$+$-',
123123
]
124124
# 'lightweight' tests test only a single fontset (dejavusans, which is the
125125
# default) and only png outputs, in order to minimize the size of baseline
@@ -216,7 +216,6 @@ def test_mathtext_rendering(baseline_images, fontset, index, text):
216216
def test_mathtext_rendering_svgastext(baseline_images, fontset, index, text):
217217
mpl.rcParams['mathtext.fontset'] = fontset
218218
mpl.rcParams['svg.fonttype'] = 'none' # Minimize image size.
219-
mpl.rcParams['text.color'] = 'white'
220219
fig = plt.figure(figsize=(5.25, 0.75))
221220
fig.patch.set(visible=False) # Minimize image size.
222221
fig.text(0.5, 0.5, text,

0 commit comments

Comments
 (0)