Commit ffcc8d3
committed
MNT: when clearing an Axes via clear/cla fully detach children
Reset the Axes and Figure of the children to None to help break cycles.
Closes matplotlib#69821 parent 0aac9f1 commit ffcc8d3
2 files changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1315 | 1315 | | |
1316 | 1316 | | |
1317 | 1317 | | |
| 1318 | + | |
1318 | 1319 | | |
| 1320 | + | |
| 1321 | + | |
1319 | 1322 | | |
1320 | 1323 | | |
1321 | 1324 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8359 | 8359 | | |
8360 | 8360 | | |
8361 | 8361 | | |
| 8362 | + | |
| 8363 | + | |
| 8364 | + | |
| 8365 | + | |
| 8366 | + | |
| 8367 | + | |
| 8368 | + | |
| 8369 | + | |
| 8370 | + | |
| 8371 | + | |
| 8372 | + | |
| 8373 | + | |
| 8374 | + | |
8362 | 8375 | | |
8363 | 8376 | | |
8364 | 8377 | | |
| |||
0 commit comments