imexam icon indicating copy to clipboard operation
imexam copied to clipboard

Issue with graphical display on Ubuntu and Mint

Open patkel opened this issue 4 years ago • 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?

patkel avatar Mar 06 '20 17:03 patkel

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 avatar Mar 06 '20 18:03 sosey

Hi, I’m forwarding to Daniel who is one of the students with the issue. Thanks so much for the help! Cheers Pat

On Friday, March 6, 2020, Megan Sosey [email protected] wrote:

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 os, 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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/spacetelescope/imexam/issues/197?email_source=notifications&email_token=ABHG3PB72AAVJQNQG3EU6P3RGE3SVA5CNFSM4LDFCCP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOCJFBA#issuecomment-595890820, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHG3PCIRS7KC2XPXYDFL63RGE3SVANCNFSM4LDFCCPQ .

patkel avatar Mar 06 '20 18:03 patkel

Hey all,

This is what my terminal responded with.

[image: Screenshot from 2020-03-06 10-32-54.png]

On Fri, Mar 6, 2020 at 10:13 AM Patrick Kelly [email protected] wrote:

Hi, I’m forwarding to Daniel who is one of the students with the issue. Thanks so much for the help! Cheers Pat

On Friday, March 6, 2020, Megan Sosey [email protected] wrote:

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 os, 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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/spacetelescope/imexam/issues/197?email_source=notifications&email_token=ABHG3PB72AAVJQNQG3EU6P3RGE3SVA5CNFSM4LDFCCP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOCJFBA#issuecomment-595890820, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHG3PCIRS7KC2XPXYDFL63RGE3SVANCNFSM4LDFCCPQ .

patkel avatar Mar 06 '20 18:03 patkel

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

sosey avatar Mar 06 '20 21:03 sosey

I'm resending it as an attachment here...

On Fri, Mar 6, 2020 at 3:43 PM Megan Sosey [email protected] wrote:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/spacetelescope/imexam/issues/197?email_source=notifications&email_token=ABHG3PB25XF66P2JNCKEWMDRGFVABA5CNFSM4LDFCCP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOC6MEA#issuecomment-595977744, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHG3PABWBEX3OTMO5IAAVDRGFVABANCNFSM4LDFCCPQ .

patkel avatar Mar 06 '20 21:03 patkel

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?

sosey avatar Mar 06 '20 21:03 sosey

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

patkel avatar Mar 06 '20 22:03 patkel

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

sosey avatar Mar 06 '20 23:03 sosey

Apparently 3.1.3

On Friday, March 6, 2020, Megan Sosey [email protected] wrote:

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

matplotlib.version

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/spacetelescope/imexam/issues/197?email_source=notifications&email_token=ABHG3PBLOS5VA2E7EJZP6PTRGF57ZA5CNFSM4LDFCCP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEODD6YA#issuecomment-596000608, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHG3PD6BOX4AX6LP5M36TLRGF57ZANCNFSM4LDFCCPQ .

patkel avatar Mar 06 '20 23:03 patkel

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.

sosey avatar Apr 09 '20 22:04 sosey

thanks!

Pat

On Thu, Apr 9, 2020 at 5:32 PM Megan Sosey [email protected] wrote:

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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/spacetelescope/imexam/issues/197#issuecomment-611785348, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHG3PAGCIC2WQD2WCYU2BLRLZEHTANCNFSM4LDFCCPQ .

patkel avatar Apr 12 '20 16:04 patkel