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

Skip to content

Commit 69aec89

Browse files
committed
Remove unused SubSuperCluster.
1 parent 35259b3 commit 69aec89

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

lib/matplotlib/_mathtext.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1370,21 +1370,6 @@ def shrink(self):
13701370
self.width *= SHRINK_FACTOR
13711371

13721372

1373-
class SubSuperCluster(Hlist):
1374-
"""
1375-
A hack to get around that fact that this code does a two-pass parse like
1376-
TeX. This lets us store enough information in the hlist itself, namely the
1377-
nucleus, sub- and super-script, such that if another script follows that
1378-
needs to be attached, it can be reconfigured on the fly.
1379-
"""
1380-
1381-
def __init__(self):
1382-
self.nucleus = None
1383-
self.sub = None
1384-
self.super = None
1385-
super().__init__([])
1386-
1387-
13881373
class AutoHeightChar(Hlist):
13891374
"""
13901375
A character as close to the given height and depth as possible.

0 commit comments

Comments
 (0)