I like to make my matplotlib
plots aesthetically pleasing. For each new project, I end up creating a fresh “aesthetic setup” for my plots; this causes inconsistencies across my visualizations and unnecessary overhead.
So, I decided to swallow the bitter pill, and learn about customizing matplotlib
the proper way. Thankfully, there is a neat blog explaining this. The recommendation appears to be overriding a dict-like variable matplotlib.rcParams
.
I will use this space to log my most current rcParams
overrides and some rationale behind the design where needed. I expect this to evolve over time, and I will try my best to log details when making changes.
|
|
Use the above in code before plotting as:
|
|
The comparison will be tracked using this data:
|
|
Results
Default | Customized |
---|---|
![]() |
![]() |