Commit 5bf9811
committed
Make rcParams.copy() return a new RcParams instance.
... so that `rcParams.update(<previously-copied-rcparams-instance>)`
doesn't emit DeprecationWarnings even if some entries are deprecated.
(See comment in tests.)1 parent 8a8dd90 commit 5bf9811
3 files changed
Lines changed: 15 additions & 2 deletions
File tree
- doc/api/next_api_changes/behavior
- lib/matplotlib
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
699 | 699 | | |
700 | 700 | | |
701 | 701 | | |
702 | | - | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
703 | 706 | | |
704 | 707 | | |
705 | 708 | | |
| |||
877 | 880 | | |
878 | 881 | | |
879 | 882 | | |
| 883 | + | |
880 | 884 | | |
881 | | - | |
882 | 885 | | |
883 | 886 | | |
884 | 887 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
546 | 546 | | |
547 | 547 | | |
548 | 548 | | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
0 commit comments