Skip to content

Commit

Permalink
Figure.colorbar: Add alias "Q" (#2608)
Browse files Browse the repository at this point in the history
Co-authored-by: Yvonne Fröhlich <[email protected]>
Co-authored-by: Michael Grund <[email protected]>
  • Loading branch information
3 people authored Jul 21, 2023
1 parent 5668165 commit b32e6d7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pygmt/src/colorbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
I="shading",
J="projection",
L="equalsize",
Q="log",
R="region",
V="verbose",
W="scale",
Expand Down Expand Up @@ -110,6 +111,10 @@ def colorbar(self, **kwargs):
**i** is prepended the interval range is annotated instead. If
``shading`` is used each rectangle will have its constant color
modified by the specified intensity.
log : bool
Select logarithmic scale and power of ten annotations. All z-values
in the CPT will be converted to p = log10(z) and only integer p-values
will be annotated using the 10^p format [Default is linear scale].
zfile : str
File with colorbar-width per color entry. By default, the width of the
entry is scaled to the color range, i.e., z = 0-100 gives twice the
Expand Down

0 comments on commit b32e6d7

Please sign in to comment.