Skip to content

Commit

Permalink
Fix code typo in doc
Browse files Browse the repository at this point in the history
and error in rebase.
  • Loading branch information
pllim committed Sep 14, 2021
1 parent 14e295f commit 6c09a12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/imviz/notebook.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ Imviz also provides programmatic access to its viewers using
`Astrowidgets <https://astrowidgets.readthedocs.io/en/latest/>`_ API.
For example::

viewer = imviz.get_viewer('viewer-1')
viewer = imviz.app.get_viewer('viewer-1')
viewer.center_on((100, 100))
2 changes: 1 addition & 1 deletion docs/mosviz/plugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,5 @@ The :guilabel:`Remove` button can be used to remove a slit once it has been appl

In order to plot a slit onto the image viewer, we need WCS information from an image and slit position from a 2D spectrum.
The slit position is calculated using the ``S_REGION`` header extension value, located in the
`~spectral_cube.SpectralCube.meta` attribute of the :class:`~specutils.Spectrum1D` object
`~specutils.Spectrum1D.meta` attribute of the :class:`~specutils.Spectrum1D` object
that is active in the 2D spectrum viewer.

0 comments on commit 6c09a12

Please sign in to comment.