A Barbie style for matplotlib, inspired by theme_barbie.R
- Create a virtual environment with matplotlib and numpy (optional)
- Run barbie_style_demo.py to see the Barbie style in action
- To use in your own code:
- Download the .mplstyle file and put it in your project directory
- Use
with plt.style.context('barbie.mplstyle'):
when plotting
- Make usage easier: https://matplotlib.org/stable/users/explain/customizing.html#distributing-styles
- barbie.py: Adapted from the matplotlib style sheets reference
- barbie.mplstyle: Adapted from the minimalist template in this Medium article and parts of various stylesheets located in the matplotlib source code
- barbie.ttf: Font can be downloaded from this website