Skip to content

Commit 65ddef9

Browse files
committed
Remove extra brackets
1 parent 05beecd commit 65ddef9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/_mathtext.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2893,7 +2893,7 @@ def _genset(self, state, value, symbol, shift):
28932893
r'\leftrightarrow', state.fontsize, state.dpi)
28942894

28952895
# Shift so the symbol sits in the same horizontal position
2896-
shift_amount = (csymbol.height)/2. - (metrics.ymax + metrics.ymin)/2.
2896+
shift_amount = csymbol.height/2 - (metrics.ymax + metrics.ymin)/2
28972897
if shift:
28982898
vlist = Vlist([csymbol, # value
28992899
cvalue # symbol

0 commit comments

Comments
 (0)