8
8
9
9
Status
10
10
======
11
- **Discussion **
11
+ **Progress **
12
12
13
13
Branches and Pull requests
14
14
==========================
15
15
Main PR (including GTK3):
16
+
16
17
+ https://github.com/matplotlib/matplotlib/pull/4143
17
18
18
19
Backend specific branch diffs:
20
+
19
21
+ https://github.com/OceanWolf/matplotlib/compare/backend-refactor...OceanWolf:backend-refactor-tkagg
20
22
+ https://github.com/OceanWolf/matplotlib/compare/backend-refactor...OceanWolf:backend-refactor-qt
21
23
+ https://github.com/OceanWolf/matplotlib/compare/backend-refactor...backend-refactor-wx
@@ -79,7 +81,7 @@ The description of this MEP gives us most of the solution:
79
81
1. To remove the windowing aspect out of ``FigureManagerBase `` letting
80
82
it simply wrap this new class along with the other backend classes.
81
83
Create a new ``WindowBase `` class that can handle this
82
- functionality, with pass-through methods (:arrow_right: ) to
84
+ functionality, with pass-through methods (-> ) to
83
85
``WindowBase ``. Classes that subclass ``WindowBase `` should also
84
86
subclass the GUI specific window class to ensure backward
85
87
compatibility (``manager.window == manager.window ``).
@@ -103,30 +105,30 @@ The description of this MEP gives us most of the solution:
103
105
| FigureManagerBase(canvas, num) |FigureManager(figure, num) |``WindowBase(title)``|Notes |
104
106
| | | | |
105
107
+======================================+==============================+=====================+================================+
106
- | show | |show | |
108
+ | show |-> |show | |
107
109
+--------------------------------------+------------------------------+---------------------+--------------------------------+
108
110
| destroy |calls destroy on all |destroy | |
109
111
| |components | | |
110
112
+--------------------------------------+------------------------------+---------------------+--------------------------------+
111
113
| full_screen_toggle |handles logic |set_fullscreen | |
112
114
+--------------------------------------+------------------------------+---------------------+--------------------------------+
113
- | resize | |resize | |
115
+ | resize |-> |resize | |
114
116
+--------------------------------------+------------------------------+---------------------+--------------------------------+
115
- | key_press |key_press | | |
117
+ | key_press |key_press |X | |
116
118
+--------------------------------------+------------------------------+---------------------+--------------------------------+
117
- | show_popup |show_poup | |Not used anywhere in mpl, and |
119
+ | show_popup |show_poup |X |Not used anywhere in mpl, and |
118
120
| | | |does nothing. |
119
121
+--------------------------------------+------------------------------+---------------------+--------------------------------+
120
- | get_window_title | |get_window_title | |
122
+ | get_window_title |-> |get_window_title | |
121
123
+--------------------------------------+------------------------------+---------------------+--------------------------------+
122
- | set_window_title | |set_window_title | |
124
+ | set_window_title |-> |set_window_title | |
123
125
+--------------------------------------+------------------------------+---------------------+--------------------------------+
124
- | |_get_toolbar | |A common method to all |
126
+ | X |_get_toolbar |X |A common method to all |
125
127
| | | |subclasses of FigureManagerBase |
126
128
+--------------------------------------+------------------------------+---------------------+--------------------------------+
127
- | | |set_default_size | |
129
+ | X | X |set_default_size | |
128
130
+--------------------------------------+------------------------------+---------------------+--------------------------------+
129
- | | |add_element_to_window | |
131
+ | X | X |add_element_to_window | |
130
132
+--------------------------------------+------------------------------+---------------------+--------------------------------+
131
133
132
134
@@ -135,14 +137,14 @@ The description of this MEP gives us most of the solution:
135
137
+==========+============+=============+
136
138
| mainloop |begin | |
137
139
+----------+------------+-------------+
138
- | |end |Gets called |
140
+ | X |end |Gets called |
139
141
| | |automagically|
140
142
| | |when no more |
141
143
| | |instances of |
142
144
| | |the subclass |
143
145
| | |exist |
144
146
+----------+------------+-------------+
145
- | __call__ | |Method moved |
147
+ | __call__ |X |Method moved |
146
148
| | |to |
147
149
| | |Gcf.show_all |
148
150
+----------+------------+-------------+
@@ -191,6 +193,8 @@ in the same manner as everything else.
191
193
| | |window, so this also |
192
194
| | |breaks BC. |
193
195
+-------------------------+-------------------------+-------------------------+
196
+ | WebAgg |canvas | |
197
+ +-------------------------+-------------------------+-------------------------+
194
198
195
199
196
200
Alternatives
0 commit comments