10000 Merge pull request #14393 from anntzer/ununicode · matplotlib/matplotlib@d0ddbca · GitHub
[go: up one dir, main page]

Skip to content

Commit d0ddbca

Browse files
authored
Merge pull request #14393 from anntzer/ununicode
Remove remaining unicode-strings markers.
2 parents fd71db9 + 3848183 commit d0ddbca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/matplotlib/tests/test_mathtext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
# mathtex doesn't support array
7676
# 'mmltt18' : r'$f\left(x\right)=\left\{\begin{array}{cc}\hfill 1/3\hfill & \text{if_}0\le x\le 1;\hfill \\ \hfill 2/3\hfill & \hfill \text{if_}3\le x\le 4;\hfill \\ \hfill 0\hfill & \text{elsewhere.}\hfill \end{array}$',
7777
# mathtex doesn't support stackrel
78-
# 'mmltt19' : ur'$\stackrel{\stackrel{k\text{times}}{\ufe37}}{x+...+x}$',
78+
# 'mmltt19' : r'$\stackrel{\stackrel{k\text{times}}{\ufe37}}{x+...+x}$',
7979
r'${y}_{{x}^{2}}$',
8080
# mathtex doesn't support the "\text" command
8181
# 'mmltt21' : r'$\sum _{p\text{\prime}}f\left(p\right)={\int }_{t>1}f\left(t\right) d\pi \left(t\right)$',

tutorials/text/mathtext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@
323323
If a particular symbol does not have a name (as is true of many of the more
324324
obscure symbols in the STIX fonts), Unicode characters can also be used::
325325
326-
ur'$\u23ce$'
326+
r'$\u23ce$'
327327
328328
Example
329329
-------

0 commit comments

Comments
 (0)
0