Skip to content

Commit

Permalink
Fix incompatibility with seaborn (#4) (#6)
Browse files Browse the repository at this point in the history
* Fix #4

* Update version
  • Loading branch information
aperezlebel authored Oct 18, 2024
1 parent 1427b9d commit 2a5d2d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion glest/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = "0.0.1-alpha.0"
__version__ = "0.0.1-alpha.1"

from .core import GLEstimator, GLEstimatorCV, Partitioner
3 changes: 2 additions & 1 deletion glest/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -625,4 +625,5 @@ def calibration_curve(
]

_cmap = colors.ListedColormap(_flare_lut, "flare")
mpl.colormaps.register(_cmap, name="flare")
if "flare" not in mpl.colormaps:
mpl.colormaps.register(_cmap, name="flare")

0 comments on commit 2a5d2d8

Please sign in to comment.