Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions doc/ClawPlotItem.rst
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,23 @@ Special attributes for plot_type = '2d_imshow'
frame to frame. Also, if AMR is used, they may vary from patch to patch,
yielding very confusing plots.

.. attribute:: imshow_norm : matplotlib color norm

As an alternative to setting *imshow_cmin* and *imshow_cmax*, provide
a `matplotlib color norm
<https://matplotlib.org/stable/api/colors_api.html#color-norms>`_
to *imshow_norm*. This will be used to normalize the values of q into the
colorspace specified by the colormap. If *imshow_norm* is provided, it
will be used instead of *imshow_cmin* and *imshow_cmax*.

It may be advantageous to also specify *plotitem.colorbar_ticks* and
*plotitem.colorbar_tick_labels* to enforce drawing of colorbar ticks
when using *imshow_norm*.

.. attribute:: imshow_alpha : float

The transparency value (between 0 [transparent] and 1 [opaque]).

.. attribute:: add_colorbar : bool

If True, a colorbar is added to the plot.
Expand Down