From e9e8832d36dc9afc74b582f5705eaea834869ea9 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Wed, 22 Apr 2020 09:56:16 +0200 Subject: [PATCH] Don't silently drop pil_kwargs for non-Pillow-based formats. --- lib/mplcairo/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mplcairo/base.py b/lib/mplcairo/base.py index 8c65c615..7c1a3bc4 100644 --- a/lib/mplcairo/base.py +++ b/lib/mplcairo/base.py @@ -173,7 +173,7 @@ def tostring_rgba_minimized(self): # Needed for MixedModeRenderer. def _check_print_extra_kwargs(*, # These arguments are already taken care of by print_figure(). dpi=72, facecolor=None, edgecolor=None, orientation="portrait", - dryrun=False, bbox_inches_restore=None, pil_kwargs=None): + dryrun=False, bbox_inches_restore=None): pass