MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / set_window_title

Method set_window_title

lib/matplotlib/backend_bases.py:2892–2906  ·  view source on GitHub ↗

Set the title text of the window containing the figure. Examples -------- >>> fig = plt.figure() >>> fig.canvas.manager.set_window_title('My figure')

(self, title)

Source from the content-addressed store, hash-verified

2890 return self._window_title
2891
2892 def set_window_title(self, title):
2893 """
2894 Set the title text of the window containing the figure.
2895
2896 Examples
2897 --------
2898 >>> fig = plt.figure()
2899 >>> fig.canvas.manager.set_window_title('My figure')
2900 """
2901 # This attribute is not defined in __init__ (but __init__ calls this
2902 # setter), as derived classes (real GUI managers) will store this
2903 # information directly on the widget; only the base (non-GUI) manager
2904 # class needs a specific attribute for it (so that filename escaping
2905 # can be checked in the test suite).
2906 self._window_title = title
2907
2908
2909cursors = tools.cursors

Callers 5

__init__Method · 0.95
configure_subplotsMethod · 0.45
boxplot_demo.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected