File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
doc/api/next_api_changes/deprecations Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1+ ``FigureManagerGTK3Agg `` and ``FigureManagerGTK4Agg ``
2+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+ ... are deprecated; directly use ``FigureManagerGTK3 `` and
4+ ``FigureManagerGTK4 `` instead.
Original file line number Diff line number Diff line change 11import numpy as np
22
3- from .. import cbook
3+ from .. import _api , cbook
44try :
55 from . import backend_cairo
66except ImportError as e :
@@ -76,11 +76,11 @@ def draw(self):
7676 backend_gtk3 .FigureCanvasGTK3 .draw (self )
7777
7878
79+ @_api .deprecated ("3.6" , alternative = "backend_gtk3.FigureManagerGTK3" )
7980class FigureManagerGTK3Agg (backend_gtk3 .FigureManagerGTK3 ):
8081 pass
8182
8283
8384@_BackendGTK3 .export
8485class _BackendGTK3Cairo (_BackendGTK3 ):
8586 FigureCanvas = FigureCanvasGTK3Agg
86- FigureManager = FigureManagerGTK3Agg
Original file line number Diff line number Diff line change 11import numpy as np
22
3- from .. import cbook
3+ from .. import _api , cbook
44try :
55 from . import backend_cairo
66except ImportError as e :
@@ -44,11 +44,11 @@ def draw(self):
4444 backend_gtk4 .FigureCanvasGTK4 .draw (self )
4545
4646
47+ @_api .deprecated ("3.6" , alternative = "backend_gtk4.FigureManagerGTK4" )
4748class FigureManagerGTK4Agg (backend_gtk4 .FigureManagerGTK4 ):
4849 pass
4950
5051
5152@_BackendGTK4 .export
5253class _BackendGTK4Agg (_BackendGTK4 ):
5354 FigureCanvas = FigureCanvasGTK4Agg
54- FigureManager = FigureManagerGTK4Agg
You can’t perform that action at this time.
0 commit comments