Commit b923ef3
committed
Simplify pickling support.
- silent_list is directly picklable as is; no need to do anything about
it. While we're at it, also get rid of `__str__` -- `__str__` is
documented to fall back on `__repr__`, so the latter is sufficient.
- When pickling GridSpec and SubplotSpec, set _layoutbox to None, so
that no special loading is needed.1 parent bd1e75a commit b923ef3
2 files changed
Lines changed: 2 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | 259 | | |
270 | 260 | | |
271 | 261 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
| 315 | + | |
326 | 316 | | |
327 | 317 | | |
328 | 318 | | |
| |||
580 | 570 | | |
581 | 571 | | |
582 | 572 | | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
588 | | - | |
589 | | - | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
| 573 | + | |
594 | 574 | | |
595 | 575 | | |
596 | 576 | | |
| |||
0 commit comments