spacetelescope/imexam

Issue with graphical display on Ubuntu and Mint

patkel opened this issue · 11 comments

I am teaching a class that is using the imexam package. The graphical window appears black in most cases if you run a routine such as 'a' or 'r'
A workaround appears to be hitting 's' and then e.g., 'a'
or 'r' multiple times.
Is there a way to fix this bug? It seems to be an issue related to pylab or matplotlib, perhaps?

sosey commented

it's usually an issue with the matplotlib backend in use. Can you send me the output of these commands from a python terminal:

import matplotlib
import platform, sys
matplotlib.get_backend()
platform.uname()
sys.version

If we can't fix it with your backend, and it's a bug, I'm packaging a new release this weekend and can try and throw in a fix for this.

sosey commented

hmm...I'm not sure the attached image was uploaded?

sosey commented

I think it might be getting clipped. You should be able to drag the image into the comment area on github and it will upload, will try that?

Screenshot from 2020-03-06 10-32-54

sosey commented

one more - sorry, which version of matplotlib are you running?
matplotlib.__version__

sosey commented

sorry for the long delay, hope all is well where you are during these times..

I wasn't able to reproduce your issue locally. But I did release a new version of imexam (0.9.1) that has quite a few fixes, it's worth updating and giving it another try.