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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy