Skip to content

Commit fcbe04a

Browse files
authored
fix #81: removed tex=True setting (#82)
* fix: removed tex=True setting * fix: updated np.inf format
1 parent 39ec0bf commit fcbe04a

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

persim/images.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -619,10 +619,10 @@ def fit(self, pers_dgms, skew=True):
619619
skew : boolean
620620
Flag indicating if diagram(s) need to first be converted to birth-persistence coordinates (default: True).
621621
"""
622-
min_birth = np.Inf
623-
max_birth = -np.Inf
624-
min_pers = np.Inf
625-
max_pers = -np.Inf
622+
min_birth = np.inf
623+
max_birth = -np.inf
624+
min_pers = np.inf
625+
max_pers = -np.inf
626626

627627
# convert to a list of diagrams if necessary
628628
pers_dgms, singular = self._ensure_iterable(pers_dgms)

persim/landscapes/visuals.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
from .exact import PersLandscapeExact
1313
from .approximate import PersLandscapeApprox
1414

15-
mpl.rcParams["text.usetex"] = True
16-
1715
__all__ = ["plot_landscape", "plot_landscape_simple"]
1816

1917

0 commit comments

Comments
 (0)