Skip to content

Commit

Permalink
fix #81: removed tex=True setting (#82)
Browse files Browse the repository at this point in the history
* fix: removed tex=True setting

* fix: updated np.inf format
  • Loading branch information
maximelucas authored Jul 19, 2024
1 parent 39ec0bf commit fcbe04a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 4 additions & 4 deletions persim/images.py
Original file line number Diff line number Diff line change
Expand Up @@ -619,10 +619,10 @@ def fit(self, pers_dgms, skew=True):
skew : boolean
Flag indicating if diagram(s) need to first be converted to birth-persistence coordinates (default: True).
"""
min_birth = np.Inf
max_birth = -np.Inf
min_pers = np.Inf
max_pers = -np.Inf
min_birth = np.inf
max_birth = -np.inf
min_pers = np.inf
max_pers = -np.inf

# convert to a list of diagrams if necessary
pers_dgms, singular = self._ensure_iterable(pers_dgms)
Expand Down
2 changes: 0 additions & 2 deletions persim/landscapes/visuals.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
from .exact import PersLandscapeExact
from .approximate import PersLandscapeApprox

mpl.rcParams["text.usetex"] = True

__all__ = ["plot_landscape", "plot_landscape_simple"]


Expand Down

0 comments on commit fcbe04a

Please sign in to comment.