Commit 583e1d9
committed
Keep cachedRenderer as None when pickling Figure.
`Figure.__init__` sets cachedRenderer to None, so it's awkward that
pickling and unpickling a figure completely removes the attribute,
causing obscure AttributeErrors.1 parent 193b8f6 commit 583e1d9
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2108 | 2108 | | |
2109 | 2109 | | |
2110 | 2110 | | |
2111 | | - | |
2112 | | - | |
| 2111 | + | |
| 2112 | + | |
| 2113 | + | |
| 2114 | + | |
2113 | 2115 | | |
2114 | 2116 | | |
2115 | 2117 | | |
| |||
0 commit comments