We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d78563 commit ab39616Copy full SHA for ab39616
pygmt/figure.py
@@ -228,6 +228,9 @@ def psconvert(self, **kwargs):
228
{verbose}
229
"""
230
kwargs = self._preprocess(**kwargs)
231
+ # pytest-mpl v0.17.0 added the "metadata" parameter to `Figure.savefig`, which
232
+ # is not recognized. So remove it before calling `Figure.psconvert`.
233
+ kwargs.pop("metadata", None)
234
# Default cropping the figure to True
235
if kwargs.get("A") is None:
236
kwargs["A"] = ""
0 commit comments