spacetelescope / jwst_coronagraph_visibility

Visualize approximate pointing constraints for JWST coronagraphs.
https://github.com/spacetelescope/jwst_visibility/blob/master/docs/index.rst
BSD 3-Clause "New" or "Revised" License
8 stars 10 forks source link

Bug when plotting in python 2.7 environment #25

Closed jbhagan closed 4 years ago

jbhagan commented 4 years ago

Per Julien Girard:

on my 2.7 environment, it opens fine, I can search a star but then it does not plot when I clicl “Update Plot”, it gets stuck with the spinning wheel. There might still be an error related to Tk: (testVIP2) polychromatic:Downloads jgirard$ jwst-coronagraph-visibility-gui /Users/jgirard/miniconda3/envs/testVIP2/lib/python2.7/site-packages/jwst_coronagraph_visibility/gui.py:778: MatplotlibDeprecationWarning: The FigureCanvasTk.show function was deprecated in version 2.2. Use FigureCanvasTk.draw instead. self._canvas.show() /Users/jgirard/miniconda3/envs/testVIP2/lib/python2.7/site-packages/jwst_coronagraph_visibility/gui.py:783: MatplotlibDeprecationWarning: The NavigationToolbar2TkAgg class was deprecated in version 2.2. self._toolbar = NavigationToolbar2TkAgg(self._canvas, frame)