Commit 93190c1
committed
Fixed bug with priority of rcParams
In version 4.0.0 I added theme="default", which was then going to be applied
every time a new figure was instantiated. Turns out that setting a theme with
`plt.style.context(theme)` is going to disregard user-provided settings with
`plt.rcParams`. This commit sets theme="", which would still use Matplotlib
default theme, but it will be loaded through rcParams. So any user-provided
settings to rcParams will be applied to the figure, provided that theme="".1 parent ec46ccc commit 93190c1
1 file changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
634 | 634 | | |
635 | 635 | | |
636 | 636 | | |
637 | | - | |
| 637 | + | |
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
641 | 652 | | |
642 | 653 | | |
643 | 654 | | |
| |||
0 commit comments