Skip to content
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
ff309bc
Sort aliases alphabetically
yvonnefroehlich Feb 1, 2023
80c90a1
Add aliases for E and G
yvonnefroehlich Feb 1, 2023
346f451
Fix syntax for input format
yvonnefroehlich Feb 1, 2023
e1333bc
Add docstrings
yvonnefroehlich Feb 1, 2023
67b583a
Update docstrings for 'compressionfill' and 'extensionfill'
yvonnefroehlich Feb 3, 2023
c27e5a0
Merge branch 'main' into add-meca-aliases-E-G
yvonnefroehlich Feb 4, 2023
917aa4f
Remove articels from 'fill' docstrings
yvonnefroehlich Feb 5, 2023
28f738e
Merge branch 'main' into add-meca-aliases-E-G
yvonnefroehlich Feb 7, 2023
e2b1a6d
Use consistently plural (based on code review)
yvonnefroehlich Feb 7, 2023
663ac01
Use dictionary instead of dict
yvonnefroehlich Feb 7, 2023
eaffcfb
Fix line length
yvonnefroehlich Feb 7, 2023
d9aee45
Merge branch 'main' into add-meca-aliases-E-G
yvonnefroehlich Feb 9, 2023
25ed48a
Merge branch 'main' into add-meca-aliases-E-G
yvonnefroehlich Feb 11, 2023
b2a3cbc
Redo docstrings changes
yvonnefroehlich Feb 12, 2023
4f57ed5
Add old docstrings
yvonnefroehlich Feb 12, 2023
6250e60
Merge branch 'main' into add-meca-aliases-E-G
yvonnefroehlich Feb 12, 2023
7743c6e
Fix typo
yvonnefroehlich Feb 12, 2023
df756b2
Add aliases for 'C' and 'W'
yvonnefroehlich Feb 12, 2023
617f2ad
Add docstring for 'pen'
yvonnefroehlich Feb 12, 2023
e46c52d
Add docstring for 'cmap'
yvonnefroehlich Feb 12, 2023
d5c4105
Fix formating in docstring for 'cmap' (code review)
yvonnefroehlich Feb 13, 2023
323df0a
Improve docstring for "cmap" parameter (code review)
yvonnefroehlich Feb 14, 2023
f8f1056
Merge branch 'main' into add-meca-aliases-E-G
yvonnefroehlich Feb 14, 2023
da5cd28
Remove trailing white spaces
yvonnefroehlich Feb 14, 2023
2f40877
Use general verb form in docstring for 'no_clip' (code review)
yvonnefroehlich Feb 18, 2023
70cc335
Merge branch 'main' into add-meca-aliases-E-G
yvonnefroehlich Feb 18, 2023
e785333
Revert change of using general verb form
yvonnefroehlich Feb 18, 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
23 changes: 21 additions & 2 deletions pygmt/src/meca.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,16 @@ def data_format_code(convention, component="full"):

@fmt_docstring
@use_alias(
R="region",
J="projection",
A="offset",
B="frame",
C="cmap",
E="extensionfill",
G="compressionfill",
J="projection",
N="no_clip",
R="region",
V="verbose",
W="pen",
c="panel",
p="perspective",
t="transparency",
Expand Down Expand Up @@ -211,6 +215,21 @@ def meca(
to the circle. Use **+s**\ *size* to set the diameter of the circle
[Default is no circle]. Use **+p**\ *pen* to set the line pen
attributes [Default is 0.25p].
compressionfill : str
Set color or pattern for filling compressive quadrants
[Default is black].
extensionfill : str
Set color or pattern for filling extensive quadrants
[Default is white].
pen : str
Set pen attributes for outline of beachball
[Default is ``"0.25p,black,solid"``].
cmap : str
File name of a CPT file or a series of comma-separated colors (e.g.,
*color1,color2,color3*) to build a linear continuous CPT from those
colors automatically. The color of the compressive quadrants is
determined by the z-value (i.e., event depth or the third column for
an input file).
no_clip : bool
Does NOT skip symbols that fall outside frame boundary specified by
``region`` [Default is False, i.e. plot symbols inside map frame only].
Expand Down