spacetelescope / imexam

imexam is a python tool for simple image examination, and plotting, with similar functionality to IRAF's imexamine
http://imexam.readthedocs.io
BSD 3-Clause "New" or "Revised" License
74 stars 45 forks source link

Matplotlibe deprecation warning #214

Closed jchavez1992 closed 3 years ago

jchavez1992 commented 4 years ago

I am fairly new to using python/imexam. I was a little surprised on the first time I imported it, I got this deprecation warning from Matplotlib: [path]/miniconda3/envs/dragons/lib/python3.6/site-packages/ginga/cmap.py:13317: MatplotlibDeprecationWarning: The global colormaps dictionary is no longer considered public API

Maybe ginga is not within the scope of imexam, but I thought it was worth reporting.

If it helps, I found this when I did a google search of the Deprecation Warning: https://github.com/holoviz/holoviews/issues/4531

sosey commented 4 years ago

Ah, yes, ginga development isn't in scope with imexam, but I'll double check the version we are using and what @ejeschke and @pllim are working on for the deprecation...

Are you using imexam with ginga or ds9?

pllim commented 4 years ago

Re: Ginga -- Are you using a very old version of Ginga? I don't see that warning on master. And also we just dropped support for Python 3.6 on master. If you can give a code snippet to reproduce on Ginga, please open issue at https://github.com/ejeschke/ginga/issues

ejeschke commented 4 years ago

I can see where this is coming from. Looks like a few other projects are bitten by the same deprecation.

I filed an issue in Ginga github.