Skip to content

Commit 8d19dbf

Browse files
committed
Fix problem where "$\hat{y}$" was not placing the \hat over the y.
1 parent 5ca4453 commit 8d19dbf

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
@@ -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)