Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 375ed00

Browse files
committed
Unalign equals.
1 parent a889ec0 commit 375ed00

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

lib/matplotlib/_mathtext.py

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1701,10 +1701,10 @@ def ship(ox, oy, box):
17011701
processes have become local variables here.
17021702
"""
17031703

1704-
cur_v = 0.
1705-
cur_h = 0.
1706-
off_h = ox
1707-
off_v = oy + box.height
1704+
cur_v = 0.
1705+
cur_h = 0.
1706+
off_h = ox
1707+
off_v = oy + box.height
17081708

17091709
def clamp(value):
17101710
if value < -1000000000.:
@@ -1716,12 +1716,12 @@ def clamp(value):
17161716
def hlist_out(box):
17171717
nonlocal cur_v, cur_h, off_h, off_v
17181718

1719-
cur_g = 0
1720-
cur_glue = 0.
1721-
glue_order = box.glue_order
1722-
glue_sign = box.glue_sign
1723-
base_line = cur_v
1724-
left_edge = cur_h
1719+
cur_g = 0
1720+
cur_glue = 0.
1721+
glue_order = box.glue_order
1722+
glue_sign = box.glue_sign
1723+
base_line = cur_v
1724+
left_edge = cur_h
17251725

17261726
for p in box.children:
17271727
if isinstance(p, Char):
@@ -1746,8 +1746,8 @@ def hlist_out(box):
17461746
elif isinstance(p, Box):
17471747
# node624
17481748
rule_height = p.height
1749-
rule_depth = p.depth
1750-
rule_width = p.width
1749+
rule_depth = p.depth
1750+
rule_width = p.width
17511751
if np.isinf(rule_height):
17521752
rule_height = box.height
17531753
if np.isinf(rule_depth):
@@ -1776,13 +1776,13 @@ def hlist_out(box):
17761776
def vlist_out(box):
17771777
nonlocal cur_v, cur_h, off_h, off_v
17781778

1779-
cur_g = 0
1780-
cur_glue = 0.
1781-
glue_order = box.glue_order
1782-
glue_sign = box.glue_sign
1783-
left_edge = cur_h
1784-
cur_v -= box.height
1785-
top_edge = cur_v
1779+
cur_g = 0
1780+
cur_glue = 0.
1781+
glue_order = box.glue_order
1782+
glue_sign = box.glue_sign
1783+
left_edge = cur_h
1784+
cur_v -= box.height
1785+
top_edge = cur_v
17861786

17871787
for p in box.children:
17881788
if isinstance(p, Kern):

0 commit comments

Comments
 (0)