diff --git a/upsetplot/plotting.py b/upsetplot/plotting.py index 4ebf1db..fdb6808 100644 --- a/upsetplot/plotting.py +++ b/upsetplot/plotting.py @@ -664,7 +664,8 @@ def make_grid(self, fig=None): window_extent_args = {} if RENDERER_IMPORTED: - with warnings.catch_warnings(DeprecationWarning): + with warnings.catch_warnings(): + warnings.simplefilter("ignore", DeprecationWarning) window_extent_args["renderer"] = get_renderer(fig) figw = self._reorient(fig.get_window_extent(**window_extent_args)).width