Skip to content

Commit

Permalink
Use mpl.__version_info__ in FigureManager
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthomas23 committed Jan 2, 2025
1 parent fa3d346 commit 98fd334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipympl/backend_nbagg.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def _ipython_display_(self, **kwargs):


class FigureManager(FigureManagerWebAgg):
if matplotlib.__version__ < "3.6":
if matplotlib.__version_info__ < (3, 6):
ToolbarCls = Toolbar

def __init__(self, canvas, num):
Expand Down

0 comments on commit 98fd334

Please sign in to comment.