Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 65ddef9

Browse filesBrowse files
committed
Remove extra brackets
1 parent 05beecd commit 65ddef9
Copy full SHA for 65ddef9

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎lib/matplotlib/_mathtext.py

Copy file name to clipboardExpand all lines: lib/matplotlib/_mathtext.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.