Use args_in_kwargs for basemap error raising
@@ -1204,7 +1204,7 @@ class BasePlotting:
{t}
"""
kwargs = self._preprocess(**kwargs)
- if not ("B" in kwargs or "L" in kwargs or "Td" in kwargs or "Tm" in kwargs):
+ if not args_in_kwargs(args=["B", "L", "Td", "Tm"], kwargs=kwargs):
raise GMTInvalidInput(
"At least one of frame, map_scale, compass, or rose must be specified."
)
