Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ae91e9f

Browse files
committed
FIX: re-order symbol and acent in mathtext
Try to find symbols before finding accents Closes #4462
1 parent 66dd16f commit ae91e9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/mathtext.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2263,8 +2263,8 @@ def __init__(self):
22632263
| Error("Expected \operatorname{value}"))
22642264
)
22652265

2266-
p.placeable <<= ( p.accent # Must be first
2267-
| p.symbol # Must be second
2266+
p.placeable <<= ( p.symbol # Must be first
2267+
| p.accent # Must be second
22682268
| p.c_over_c
22692269
| p.function
22702270
| p.group

0 commit comments

Comments
 (0)