File tree Expand file tree Collapse file tree 2 files changed +5
-20
lines changed
doc/api/next_api_changes/removals Expand file tree Collapse file tree 2 files changed +5
-20
lines changed Original file line number Diff line number Diff line change 1+ Get/set window title methods have been removed from the canvas
2+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+ Use the corresponding methods on the FigureManager if using pyplot,
5+ or GUI-specific methods if embedding.
Original file line number Diff line number Diff line change @@ -2307,26 +2307,6 @@ def get_default_filetype(cls):
23072307 """
23082308 return rcParams ['savefig.format' ]
23092309
2310- @_api .deprecated ("3.4" , alternative = "`.FigureManagerBase.get_window_title`"
2311- " or GUI-specific methods" )
2312- def get_window_title (self ):
2313- """
2314- Return the title text of the window containing the figure, or None
2315- if there is no window (e.g., a PS backend).
2316- """
2317- if self .manager is not None :
2318- return self .manager .get_window_title ()
2319-
2320- @_api .deprecated ("3.4" , alternative = "`.FigureManagerBase.set_window_title`"
2321- " or GUI-specific methods" )
2322- def set_window_title (self , title ):
2323- """
2324- Set the title text of the window containing the figure. Note that
2325- this has no effect if there is no window (e.g., a PS backend).
2326- """
2327- if self .manager is not None :
2328- self .manager .set_window_title (title )
2329-
23302310 def get_default_filename (self ):
23312311 """
23322312 Return a string, which includes extension, suitable for use as
You can’t perform that action at this time.
0 commit comments