Skip to content

Commit 396a644

Browse files
committed
Merge pull request matplotlib#614 from mdboom/mathtext-accent-groups
$\hat {y}$ doesn't render correctly in mathtext
2 parents c51c132 + 8d19dbf commit 396a644

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/mathtext.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2259,10 +2259,10 @@ def __init__(self):
22592259
| Error("Expected \operatorname{value}"))
22602260
)
22612261

2262-
placeable << ( symbol # Must be first
2262+
placeable << ( accent # Must be first
2263+
| symbol # Must be second
22632264
| c_over_c
22642265
| function
2265-
| accent
22662266
| group
22672267
| frac
22682268
| stackrel

0 commit comments

Comments
 (0)