diff --git a/eomaps/eomaps.py b/eomaps/eomaps.py index f98e26a1c..5ef870471 100644 --- a/eomaps/eomaps.py +++ b/eomaps/eomaps.py @@ -3478,7 +3478,11 @@ def snapshot(self, *layer, transparent=False, clear=False): try: from IPython.display import display - display(Image.fromarray(sn, "RGBA").convert('RGB'), display_id=True, clear=clear) + display( + Image.fromarray(sn, "RGBA").convert("RGB"), + display_id=True, + clear=clear, + ) except Exception: _log.exception( "Unable to display the snapshot... is the script " @@ -4093,7 +4097,6 @@ def _init_figure(self, ax=None, plot_crs=None, **kwargs): # to hide canvas header in jupyter notebooks (default figure label) self._f.canvas.header_visible = False - # override Figure.savefig with Maps.savefig but keep original # method accessible via Figure._mpl_orig_savefig # (this ensures that using the save-buttons in the gui or pressing