Skip to content

Commit

Permalink
hotfix for another obsolete code example in quickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
confluence committed Oct 6, 2024
1 parent d171b0d commit 989af8e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/source/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,11 @@ Properties specific to individual images can be accessed through image objects:
.. code-block:: python
import numpy as np
from carta.constants import Colormap, Scaling
from carta.constants import Colormap, Scaling, Polarization
# change the channel
img.set_channel_stokes(10, 0, True)
# change the channel and polarization
img.set_channel(10)
img.set_polarization(Polarization.Q)
# various commands for handling spatial and spectral matching are also available
# pan and zoom
Expand Down

0 comments on commit 989af8e

Please sign in to comment.