Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation for imshow_norm and imshow_alpha #227

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
add notes about adding colorbar_tick_labels and colorbar_ticks.
  • Loading branch information
kbarnhart committed Jan 9, 2024
commit c5c775f9deba67bcd61d97b9b339f71c95a1ff6c
6 changes: 5 additions & 1 deletion doc/ClawPlotItem.rst
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,11 @@ Special attributes for plot_type = '2d_imshow'
<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*.
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

Expand Down