Skip to content

Commit

Permalink
hide ipympl header label in jupyter notebooks by default
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelquast committed Dec 1, 2023
1 parent 8c540e1 commit e486572
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eomaps/eomaps.py
Original file line number Diff line number Diff line change
Expand Up @@ -4090,6 +4090,9 @@ def _init_figure(self, ax=None, plot_crs=None, **kwargs):
_handle_backends()

self._f = plt.figure(**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
Expand Down

0 comments on commit e486572

Please sign in to comment.