@@ -13,9 +13,11 @@ Status
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
@@ -49,15 +51,14 @@ Two main places for generic code appear in the classes derived from
49
51
50
52
1. ``FigureManagerBase `` has **three ** jobs at the moment:
51
53
8000
td>52
- 1. The documentation describes it as a *`` Helper class for pyplot
53
- mode, wraps everything up into a neat bundle'' *
54
+ 1. The documentation describes it as a *Helper class for pyplot
55
+ mode, wraps everything up into a neat bundle *
54
56
2. But it doesn't just wrap the canvas and toolbar, it also does
55
57
all of the windowing tasks itself. The conflation of these two
56
- tasks gets seen the best in the following line: `` `python
57
- self.set_window_title("Figure %d" % num) ` `` This combines
58
+ tasks gets seen the best in the following line:
59
+ `` self.set_window_title("Figure %d" % num) `` This combines
58
60
backend specific code ``self.set_window_title(title) `` with
59
61
matplotlib generic code ``title = "Figure %d" % num ``.
60
-
61
62
3. Currently the backend specific subclass of ``FigureManager ``
62
63
decides when to end the mainloop. This also seems very wrong
63
64
as the figure should have no control over the other figures.
@@ -95,7 +96,7 @@ The description of this MEP gives us most of the solution:
95
96
1. This allows us to break up the conversion of backends into
96
97
separate PRs as we can keep the existing ``FigureManagerBase ``
97
98
class and its dependencies intact.
98
- 2. and this also anticipates MEP22 where the new
99
+ 2. And this also anticipates MEP22 where the new
99
100
``NavigationBase `` has morphed into a backend independent
100
101
``ToolManager ``.
101
102
0 commit comments