Skip to content

Commit 21d0653

Browse files
committed
Fix rc_context call
1 parent bd41a5c commit 21d0653

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pytest_mpl/plugin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ def save_figure(self, item, fig, filename):
583583

584584
import matplotlib.pyplot as plt
585585

586-
with plt.rc_context(**extra_rcparams):
586+
with plt.rc_context(rc=extra_rcparams):
587587
fig.savefig(filename, **savefig_kwargs)
588588

589589
if original_source_date_epoch is not None:

0 commit comments

Comments
 (0)