Commit 9b80532
committed
Fix removal of Figure-level artists
PyCharm has been warning that `Artist.figure` should be a `Figure|None`,
not a `bool` as is set in this block.
Based on the previous section of code, I think setting the figure to
stale (if the Axes was not already set stale, meaning the Artist was on
a Figure *only*) was the intended behaviour.1 parent ee723d9 commit 9b80532
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
253 | 252 | | |
254 | | - | |
| 253 | + | |
| 254 | + | |
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| |||
0 commit comments