Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d57abf4 + c2fa7ba commit 65fbe95Copy full SHA for 65fbe95
1 file changed
lib/matplotlib/_mathtext.py
@@ -2324,12 +2324,13 @@ def accent(self, toks: ParseResults) -> T.Any:
2324
if accent in self._wide_accents:
2325
accent_box = AutoWidthChar(
2326
'\\' + accent, sym.width, state, char_class=Accent)
2327
+ centered = HCentered([accent_box])
2328
else:
2329
accent_box = Accent(self._accent_map[accent], state)
- if accent == 'mathring':
2330
- accent_box.shrink()
2331
2332
- centered = HCentered([Hbox(sym.width / 4.0), accent_box])
+ if accent == 'mathring':
+ accent_box.shrink()
2333
+ centered = HCentered([Hbox(sym.width / 4.0), accent_box])
2334
centered.hpack(sym.width, 'exactly')
2335
return Vlist([
2336
centered,
0 commit comments