Skip to content

Commit

Permalink
Made some grammatical corrections in using widgets doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jaladh-singhal committed Sep 14, 2020
1 parent cf20057 commit 0f4c96c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions docs/running/tardis_widgets/using_widgets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ each species. Packets can be filtered by the wavelength at which they were
absorbed or emitted, using the toggle buttons.

You can then click on a species to see the packets count for each last line
interaction it experienced. Using dropdown menu, these counts can be grouped
by excitation lines, de-excitaton lines or both.
interaction it experienced. Using the dropdown menu, these counts can be grouped
by excitation lines, de-excitation lines, or both.

Interacting with Spectrum
=========================

The spectrum in line info widget is an interactive figure made using
The spectrum in the Line Info Widget is an interactive figure made using
`plotly <https://plotly.com/python/>`_, there are several things you can
do with it:

Expand All @@ -76,7 +76,7 @@ narrower), simply redraw a new selection box over the older one.

Using Rangesilder
-----------------
The rangeslider is a long bar below the figure that allows you to zoom on a
The rangeslider is a long bar below the figure that allows you to zoom in on a
particular wavelength range in the long spectrum.

.. image:: ../images/line_info_spectrum_rangeslider.gif
Expand All @@ -87,12 +87,12 @@ can **resize** it by dragging the handles (vertical bars) at its edges.

Using other options in Modebar
------------------------------
If you take your mouse to the top right corner of figure, you will see a Modebar
with multiple options. The default option when line info widget first displays
is **Box Select** - the dotted square icon. You can click on other options
like **Zoom** (magnifying glass icon), to do a rectangle zoom which maybe
helpful to focus on a feature in the spectrum. You can always revert back to
the initial state of the figure by clicking on **Reset Axes** option.
If you take your mouse to the top right corner of the figure, you will see a
Modebar with multiple options. The default option when Line Info Widget first
displays is **Box Select** - the dotted square icon. You can click on other
options like **Zoom** (magnifying glass icon), to do a rectangular zoom which
may be helpful to focus on a feature in the spectrum. You can always revert
back to the initial state of the figure by clicking on **Reset Axes** option.

.. image:: ../images/line_info_spectrum_modebar.gif
:alt: Demo of using modebar options
Expand Down

0 comments on commit 0f4c96c

Please sign in to comment.