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

imexam 'Circle' object has no property 'ax' #228

Closed jazamatazz closed 3 years ago

jazamatazz commented 3 years ago

I am trying to find the center of stars using imexam circular apterture photometry I am using a jupyter notebook. I have ds9 version 8.1 and imexam version 0.9.1, python version 3.8.8 and am on Ubuntu 20.04.2 LTS x64.

When I launch imexam and press a on my star, I get an attribute error stating that the 'Circle' object has no property 'ax'. I am not sure how to troubleshoot this and any help is appreciated. Thank you! image

marcusthomas11 commented 3 years ago

Hi there,

The photutils package removed the 'ax' keyword in version 1.0.0, along with a number of other changes that broke a few other packages.

I downgraded that package to v0.7.2, the last stable version before 1.0.0.

I had the same issue, but it seems to all work now. Until the calls are changed in this package, you'll need to downgrade photutils.

jazamatazz commented 3 years ago

That worked! Thank you so much!