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

Figure.colorbar: Add alias for "Q" #2608

Merged
merged 49 commits into from
Jul 21, 2023
Merged
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
9007170
alias surface.py T=tensor
jhtong33 Jan 11, 2023
4b62f0e
surface.py add tension documnets
jhtong33 Jan 13, 2023
803a278
surface add -L -M -C:
jhtong33 Jan 13, 2023
fc0ba08
Apply suggestions from code review
jhtong33 Jan 14, 2023
fbe59e2
surface add document: limit upper & lower
jhtong33 Jan 14, 2023
6cf98c8
Apply suggestions from code review
jhtong33 Jan 14, 2023
f917d9d
Apply suggestions from code review
jhtong33 Jan 15, 2023
add6d0a
/format
Jan 15, 2023
5c77c5f
format
Jan 15, 2023
ae90cc3
format bold and space
jhtong33 Jan 16, 2023
9d19405
Apply suggestions from code review
jhtong33 Jan 21, 2023
38e80c0
Apply suggestions from code review
jhtong33 Jan 21, 2023
68f7fbf
add Unit links
jhtong33 Jan 21, 2023
78f721c
add Unit links with :
jhtong33 Jan 21, 2023
15680a7
add Unit links
jhtong33 Jan 21, 2023
d05a7a5
Merge branch 'GenericMappingTools:main' into main
jhtong33 Jan 21, 2023
c6fcf49
adding grdgradient_shading
jhtong33 Jan 21, 2023
bffc4c2
[format-command] fixes
actions-bot Jan 23, 2023
8c9505a
Apply suggestions from code review
jhtong33 Jan 27, 2023
e5f5c54
code finish
jhtong33 Jan 27, 2023
1fdc625
Merge branch 'GenericMappingTools:main' into mini_branch
jhtong33 Jan 27, 2023
2897d2f
Merge branch 'main' into main
weiji14 Feb 6, 2023
3256f2b
Apply suggestions from code review
jhtong33 Feb 6, 2023
2d433b0
add tension more infomation
jhtong33 Feb 6, 2023
1492de9
Merge branch 'main' of github.com:JingHuiTong/pygmt into main
jhtong33 Feb 6, 2023
3c8fd2c
mini_branch/ surface.py T=tension more information
jhtong33 Feb 6, 2023
968bda3
Fix conflicts
jhtong33 Feb 6, 2023
6136b8a
Merge remote-tracking branch 'origin/main' into main
jhtong33 Feb 6, 2023
5653ef1
[format-command] fixes
actions-bot Feb 6, 2023
8da18ee
Apply suggestions from code review
jhtong33 Feb 7, 2023
5de7419
Merge branch 'GenericMappingTools:main' into main
jhtong33 Feb 8, 2023
4845cd0
Merge branch 'GenericMappingTools:main' into main
jhtong33 Feb 9, 2023
043e644
Merge branch 'GenericMappingTools:main' into main
jhtong33 Feb 10, 2023
c3c2bae
Merge branch 'GenericMappingTools:main' into main
jhtong33 Feb 22, 2023
f4e42eb
Merge branch 'GenericMappingTools:main' into main
jhtong33 Mar 15, 2023
8377c64
Merge branch 'GenericMappingTools:main' into main
jhtong33 Mar 21, 2023
2207f89
Merge branch 'GenericMappingTools:main' into main
jhtong33 Mar 24, 2023
59717d8
Merge branch 'GenericMappingTools:main' into main
jhtong33 Apr 4, 2023
52d4b27
Merge branch 'GenericMappingTools:main' into main
jhtong33 May 26, 2023
456b0d7
adding -Q in colorbar.py
Jul 18, 2023
1d1a8dc
Merge branch 'GenericMappingTools:main' into main
jhtong33 Jul 18, 2023
f70f5b1
Merge remote-tracking branch 'origin/main' into main
Jul 18, 2023
782f57d
Adding alias Q for colorbar
Jul 18, 2023
60ffd1c
alias Q
Jul 18, 2023
4b64188
Merge remote-tracking branch 'origin/add-alias-Q-colorbar' into add-a…
Jul 18, 2023
90b3b28
space
Jul 18, 2023
d534475
fixed space
Jul 18, 2023
76293c6
Apply suggestions from code review
jhtong33 Jul 19, 2023
85cb30b
Merge branch 'main' into add-alias-Q-colorbar
michaelgrund Jul 20, 2023
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
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