Commit 3981bb3
committed
Fix ToolBase.figure property setter.
The property must be defined to use self.set_figure as the setter, and
not the other way round; otherwise, subclasses that override set_figure
(such as ToolToggleBase) won't override the setter on the property.1 parent a4dca24 commit 3981bb3
1 file changed
Lines changed: 7 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
| 121 | + | |
128 | 122 | | |
129 | 123 | | |
130 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
131 | 130 | | |
132 | 131 | | |
133 | 132 | | |
| |||
0 commit comments