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
75 stars 45 forks source link

Issue with graphical display on Ubuntu and Mint #197

Open patkel opened 4 years ago

patkel commented 4 years ago

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 4 years ago

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.

patkel commented 4 years ago

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 notifications@github.com 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 commented 4 years ago

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 patrick.l.kelly@gmail.com 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 notifications@github.com 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 .

sosey commented 4 years ago

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

patkel commented 4 years ago

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

On Fri, Mar 6, 2020 at 3:43 PM Megan Sosey notifications@github.com 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 .

sosey commented 4 years ago

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?

patkel commented 4 years ago

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

sosey commented 4 years ago

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

patkel commented 4 years ago

Apparently 3.1.3

On Friday, March 6, 2020, Megan Sosey notifications@github.com 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 .

sosey commented 4 years ago

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.

patkel commented 4 years ago

thanks!

Pat

On Thu, Apr 9, 2020 at 5:32 PM Megan Sosey notifications@github.com 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 .