Skip to content

Commit fe0364a

Browse files
committed
Fix the documentation
1 parent 7668656 commit fe0364a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/visualization/wcsaxes/overlays.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ Beam shape and scale bar
358358

359359
Adding an ellipse that represents the shape of the beam on a celestial
360360
image can be done with the
361-
:func:`~astropy.visualization.wcsaxes.WCSAxes.add_beam` function:
361+
:func:`~astropy.visualization.wcsaxes.add_beam` function:
362362

363363
.. plot::
364364
:context: reset
@@ -384,12 +384,12 @@ image can be done with the
384384
:align: center
385385

386386
from astropy import units as u
387-
from astropy.visualization import add_beam, add_scalebar
387+
from astropy.visualization.wcsaxes import add_beam, add_scalebar
388388

389389
add_beam(ax, major=1.2 * u.arcmin, minor=1.2 * u.arcmin, angle=0, frame=True)
390390

391391
To add a segment that shows a physical scale, you can use the
392-
:func:`~astropy.visualization.wcsaxes.WCSAxes.add_scalebar` function:
392+
:func:`~astropy.visualization.wcsaxes.add_scalebar` function:
393393

394394
.. plot::
395395
:context:

0 commit comments

Comments
 (0)