Skip to content

Commit 6b35d85

Browse files
OceanWolftacaswell
authored andcommitted
MEP update
1 parent 51c0598 commit 6b35d85

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

doc/devel/MEP/MEP27.rst

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,16 @@
88

99
Status
1010
======
11-
**Discussion**
11+
**Progress**
1212

1313
Branches and Pull requests
1414
==========================
1515
Main PR (including GTK3):
16+
1617
+ https://github.com/matplotlib/matplotlib/pull/4143
1718

1819
Backend specific branch diffs:
20+
1921
+ https://github.com/OceanWolf/matplotlib/compare/backend-refactor...OceanWolf:backend-refactor-tkagg
2022
+ https://github.com/OceanWolf/matplotlib/compare/backend-refactor...OceanWolf:backend-refactor-qt
2123
+ 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:
7981
1. To remove the windowing aspect out of ``FigureManagerBase`` letting
8082
it simply wrap this new class along with the other backend classes.
8183
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
8385
``WindowBase``. Classes that subclass ``WindowBase`` should also
8486
subclass the GUI specific window class to ensure backward
8587
compatibility (``manager.window == manager.window``).
@@ -103,30 +105,30 @@ The description of this MEP gives us most of the solution:
103105
|FigureManagerBase(canvas, num) |FigureManager(figure, num) |``WindowBase(title)``|Notes |
104106
| | | | |
105107
+======================================+==============================+=====================+================================+
106-
|show | |show | |
108+
|show |-> |show | |
107109
+--------------------------------------+------------------------------+---------------------+--------------------------------+
108110
|destroy |calls destroy on all |destroy | |
109111
| |components | | |
110112
+--------------------------------------+------------------------------+---------------------+--------------------------------+
111113
|full_screen_toggle |handles logic |set_fullscreen | |
112114
+--------------------------------------+------------------------------+---------------------+--------------------------------+
113-
|resize | |resize | |
115+
|resize |-> |resize | |
114116
+--------------------------------------+------------------------------+---------------------+--------------------------------+
115-
|key_press |key_press | | |
117+
|key_press |key_press |X | |
116118
+--------------------------------------+------------------------------+---------------------+--------------------------------+
117-
|show_popup |show_poup | |Not used anywhere in mpl, and |
119+
|show_popup |show_poup |X |Not used anywhere in mpl, and |
118120
| | | |does nothing. |
119121
+--------------------------------------+------------------------------+---------------------+--------------------------------+
120-
|get_window_title | |get_window_title | |
122+
|get_window_title |-> |get_window_title | |
121123
+--------------------------------------+------------------------------+---------------------+--------------------------------+
122-
|set_window_title | |set_window_title | |
124+
|set_window_title |-> |set_window_title | |
123125
+--------------------------------------+------------------------------+---------------------+--------------------------------+
124-
| |_get_toolbar | |A common method to all |
126+
|X |_get_toolbar |X |A common method to all |
125127
| | | |subclasses of FigureManagerBase |
126128
+--------------------------------------+------------------------------+---------------------+--------------------------------+
127-
| | |set_default_size | |
129+
|X |X |set_default_size | |
128130
+--------------------------------------+------------------------------+---------------------+--------------------------------+
129-
| | |add_element_to_window| |
131+
|X |X |add_element_to_window| |
130132
+--------------------------------------+------------------------------+---------------------+--------------------------------+
131133

132134

@@ -135,14 +137,14 @@ The description of this MEP gives us most of the solution:
135137
+==========+============+=============+
136138
|mainloop |begin | |
137139
+----------+------------+-------------+
138-
| |end |Gets called |
140+
|X |end |Gets called |
139141
| | |automagically|
140142
| | |when no more |
141143
| | |instances of |
142144
| | |the subclass |
143145
| | |exist |
144146
+----------+------------+-------------+
145-
|__call__ | |Method moved |
147+
|__call__ |X |Method moved |
146148
| | |to |
147149
| | |Gcf.show_all |
148150
+----------+------------+-------------+
@@ -191,6 +193,8 @@ in the same manner as everything else.
191193
| | |window, so this also |
192194
| | |breaks BC. |
193195
+-------------------------+-------------------------+-------------------------+
196+
|WebAgg |canvas | |
197+
+-------------------------+-------------------------+-------------------------+
194198

195199

196200
Alternatives

0 commit comments

Comments
 (0)