Skip to content

Commit b2fe80d

Browse files
committed
Simplify _parse_position
1 parent da4c34b commit b2fe80d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

pygmt/src/magnetic_rose.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,7 @@ def magnetic_rose( # noqa: PLR0913
108108
"""
109109
self._activate_figure()
110110

111-
position = _parse_position(
112-
position,
113-
kwdict={}, # No need to check conflicts since it's a new function.
114-
default=Position("BL", cstype="inside"), # Default to BL.
115-
)
111+
position = _parse_position(position, default=Position("BL", cstype="inside"))
116112

117113
if declination_label is not None and declination is None:
118114
msg = "Parameter 'declination' must be set when 'declination_label' is set."

0 commit comments

Comments
 (0)