{{ message }}
Commit 74aa9ab
FIX: Handle AxesWidget cleanup after failed init (matplotlib#30935)
* FIX: Handle AxesWidget cleanup after failed init
* Apply code review suggestions
* Update lib/matplotlib/tests/test_widgets.py
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
* Remove __del__ method
* Remove AxesWidget.__del__ from widgets.pyi
---------
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>1 parent 2fb2fd2 commit 74aa9ab
3 files changed
Lines changed: 15 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | 122 | | |
126 | 123 | | |
127 | 124 | | |
| |||
162 | 159 | | |
163 | 160 | | |
164 | 161 | | |
165 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
166 | 165 | | |
167 | 166 | | |
168 | 167 | | |
| |||

0 commit comments