Skip to content

Commit

Permalink
Merge pull request #335 from mfixstsci/release-0.22.0
Browse files Browse the repository at this point in the history
Update pysiaf with PRDOPSSOC-065
  • Loading branch information
mfixstsci authored Mar 1, 2024
2 parents b9a0568 + 380ed2b commit b37f153
Show file tree
Hide file tree
Showing 15 changed files with 88,221 additions and 275 deletions.
10 changes: 6 additions & 4 deletions pysiaf/aperture.py
Original file line number Diff line number Diff line change
Expand Up @@ -685,10 +685,12 @@ def plot(self, frame='tel', label=False, ax=None, title=False, units='arcsec',
horizontalalignment='center', rotation=label_rotation,
color=ax.lines[-1].get_color())
if fill:
# If a transform kwarg is supplied, pass it through to the fill function too
transform_kw = kwargs.get('transform', None)
ax.fill(x2 * scale, y2 * scale, color=fill_color, zorder=-40, alpha=fill_alpha, transform=transform_kw)

if self.observatory == "JWST":
# If a transform kwarg is supplied, pass it through to the fill function too
transform_kw = kwargs.get('transform', None)
ax.fill(x2 * scale, y2 * scale, color=fill_color, zorder=-40, alpha=fill_alpha, transform=transform_kw)
elif self.observatory == "HST":
ax.fill(x2 * scale, y2 * scale, color=fill_color, zorder=-40, alpha=fill_alpha)
if title:
ax.set_title("{0} frame".format(frame))
if show_frame_origin:
Expand Down
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
Loading

0 comments on commit b37f153

Please sign in to comment.