diff --git a/plotnine/ggplot.py b/plotnine/ggplot.py index 5c695f1a5..18f1841dd 100755 --- a/plotnine/ggplot.py +++ b/plotnine/ggplot.py @@ -842,7 +842,7 @@ def _enter_ipython(self): return for key, value in self._IPYTHON_CONFIG["InlineBackend"].items(): - if key not in ip.config.InlineBackend: # pyright: ignore + if key not in ip.config.InlineBackend: self._ip_config_inlinebackend[key] = key ip.run_line_magic("config", f"InlineBackend.{key} = {value!r}") @@ -855,6 +855,6 @@ def _exit_ipython(self): return for key in self._ip_config_inlinebackend: - del ip.config["InlineBackend"][key] # pyright: ignore + del ip.config["InlineBackend"][key] self._ip_config_inlinebackend = {}