aperezlebel / glest

Package to estimate the grouping loss of a classifier, based on the paper "Beyond calibration: estimating the grouping loss of modern neural nerworks".
MIT License
8 stars 0 forks source link

:bug: Incompatibility with seaborn #4

Open o-laurent opened 7 months ago

o-laurent commented 7 months ago

Hello!

Thank you so much for your amazing work! Would it be possible to change the name of the colormap "flare" that you define in your lib? I have indeed the following bug:

>>> import seaborn as sns
>>> from glest import GLEstimator

that results in

ValueError: A colormap named "flare" is already registered.

Thanks in advance!

PS: Switching the two lines is a simple workaround, but I thought that you may be interested to solve this potential issue for users. Furthermore, it could be a problem for libraries building on top of yours such as ours.

aperezlebel commented 7 months ago

Thank you for pointing this out! I'm adding it to the to-do list.