Skip to content

Commit

Permalink
DOC: Update Specviz Plot Options documentation (#1884)
Browse files Browse the repository at this point in the history
* DOC: Update Specviz Plot Options

* Grammatical fix

Co-authored-by: ojustino <[email protected]>
  • Loading branch information
pllim and ojustino authored Dec 1, 2022
1 parent 5232ca0 commit dd7ffa2
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions docs/specviz/displaying.rst
Original file line number Diff line number Diff line change
Expand Up @@ -198,13 +198,25 @@ Line Width

Width of the line for the spectrum in pixels. Larger values are thicker lines on the plot.

Vmin and Vmax
-------------
Line Opacity
------------

Minimum and maximum values of the Y axis.
Opacity of the line. Maximum (1) is fully opaque and minimum (0) is fully transparent.

Percentile
----------
Plot profile as steps
---------------------

Toggle on to view the spectrum as a continuous line or a step function.

Plot uncertainties
------------------

Toggle on to view uncertainties attached to the spectrum, if any.

From the API
^^^^^^^^^^^^

.. code-block:: python
Sets the bounds of the plot (Vmin and Vmax) such that the selected percentage of the
data is shown in the viewer. Editing either bound manually changes the "Percentile" selection to "Custom."
plot_options = specviz.plugins['Plot Options']
plot_options.uncertainty_visible = True

0 comments on commit dd7ffa2

Please sign in to comment.