8000 Fix invalid string escape sequences. · matplotlib/matplotlib@7cfdec7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7cfdec7

Browse files
committed
Fix invalid string escape sequences.
1 parent c574969 commit 7cfdec7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/tests/test_text.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ def test_multiline2():
134134
ax.set_xlim([0, 1.4])
135135
ax.set_ylim([0, 2])
136136
ax.axhline(0.5, color='C2', linewidth=0.3)
137-
sts = ['Line', '2 Lineg\n 2 Lg', '$\sum_i x $', 'hi $\sum_i x $\ntest',
138-
'test\n $\sum_i x $', '$\sum_i x $\n $\sum_i x $']
137+
sts = ['Line', '2 Lineg\n 2 Lg', '$\\sum_i x $', 'hi $\\sum_i x $\ntest',
138+
'test\n $\\sum_i x $', '$\\sum_i x $\n $\\sum_i x $']
139139
renderer = fig.canvas.get_renderer()
140140

141141
def draw_box(ax, tt):

0 commit comments

Comments
 (0)
0