We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0cc9f3 commit 40601c4Copy full SHA for 40601c4
pygmt/src/legend.py
@@ -85,8 +85,11 @@ def legend(
85
"""
86
self._activate_figure()
87
88
+ # Default position and box when not specified.
89
if kwargs.get("D") is None:
90
kwargs["D"] = position
91
+ if box is False and kwargs.get("F") is None:
92
+ box = Box(pen="1p", fill="white") # Default box
93
94
kind = data_kind(spec)
95
if kind not in {"empty", "file", "stringio"}:
0 commit comments