Skip to content

Commit

Permalink
Merge pull request #123 from jdhenshaw/master
Browse files Browse the repository at this point in the history
adding kwargs to ellipse_to_plot
  • Loading branch information
keflavich authored Jan 29, 2024
2 parents c947b00 + 3c08482 commit cd9fcc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radio_beam/beam.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ def commonbeam_with(self, other_beam):

return find_commonbeam_between(self, other_beam)

def ellipse_to_plot(self, xcen, ycen, pixscale):
def ellipse_to_plot(self, xcen, ycen, pixscale, **kwargs):
"""
Return a matplotlib ellipse for plotting
Expand All @@ -553,7 +553,7 @@ def ellipse_to_plot(self, xcen, ycen, pixscale):
height=(self.minor.to(u.deg) / pixscale).to(u.dimensionless_unscaled).value,
# PA is 90 deg offset from x-y axes by convention
# (it is angle from NCP)
angle=(self.pa+90*u.deg).to(u.deg).value)
angle=(self.pa+90*u.deg).to(u.deg).value, **kwargs)

def as_kernel(self, pixscale, **kwargs):
"""
Expand Down

0 comments on commit cd9fcc5

Please sign in to comment.