Open patkel opened 2 years ago
I was able to figure out that photutils would like the argument to be axes as opposed to ax
In [2]: photutils.version Out[2]: '1.3.0'
the following seems to work:
apertures.plot(axes=ax, color='green', alpha=0.75, lw=3)
annulus_apertures.plot(axes=ax, color='red', alpha=0.75, lw=3)
Hi all, I am having this problem that I think was the same as the previous ticket. I tried to install the current version on github, and believe I succeeded:
In [14]: imexam.version Out[14]: '0.9.2.dev40+gb397573'
I was able to get plots to show up by deleting ax=ax from lines --> 691 apertures.plot(ax=ax, color='green', alpha=0.75, lw=3)
and
693 annulus_apertures.plot(ax=ax, color='red', alpha=0.75, lw=3)
of ~/anaconda3/envs/python38/lib/python3.10/site-packages/imexam/imexamine.py
I'm using Python 3.10.2
and
In [2]: photutils.version Out[2]: '1.3.0'
This may not be an ideal solution, of course!
I'll also note that sometimes I have to hit 'a' twice before any plot shows up -- not sure about that one.
Cheers Pat
AttributeError Traceback (most recent call last)