8000 remove r on strings when not needed · matplotlib/matplotlib@2acfe38 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2acfe38

Browse files
committed
remove r on strings when not needed
1 parent dc8eaa9 commit 2acfe38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/pylab_examples/usetex_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
linewidth=5)
1515

1616
# legend
17-
plt.legend((r'phase field', r'level set', r'composition', r'sharp interface'), shadow=True, loc=(0.01, 0.55))
17+
plt.legend(('phase field', 'level set', 'composition', 'sharp interface'), shadow=True, loc=(0.01, 0.55))
1818

1919
ltext = plt.gca().get_legend().get_texts()
2020
plt.setp(ltext[0], fontsize=20, color='b')

0 commit comments

Comments
 (0)
0