Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions pygmt/src/directional_rose.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ def directional_rose(

# The default position is set to "TR" since GMT 6.7.0, which has no default value
# in GMT 6.6.0 and earlier versions.
# TODO(GMT>6.6.0): Set 'default=None' after GMT 6.7.0.
# TODO(GMT>6.6.0): Set 'default=True' after GMT 6.7.0.
position = _parse_position(
position,
default=None
default=True # Use GMT default position but need to set to True to activate -Td
if Version(__gmt_version__) > Version("6.6.0")
else Position("TR", cstype="inside"),
)
Expand Down
4 changes: 2 additions & 2 deletions pygmt/src/magnetic_rose.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ def magnetic_rose( # noqa: PLR0913

# The default position is set to "TR" since GMT 6.7.0, which has no default value
# in GMT 6.6.0 and earlier versions.
# TODO(GMT>6.6.0): Set 'default=None' after GMT 6.7.0.
# TODO(GMT>6.6.0): Set 'default=True' after GMT 6.7.0.
position = _parse_position(
position,
default=None
default=True # Use GMT default position but need to set to True to activate -Tm
if Version(__gmt_version__) > Version("6.6.0")
else Position("TR", cstype="inside"),
)
Expand Down
Loading