Download the gruvbox-colored.mplstyle
to the according directory:
$ url="https://gist.githubusercontent.com/flxai/ccb46e725272943d62325a2e8a1fae4c/raw/81c54b723cd69a5f82e673a2f2df6ddc5ac5dc5e/gruvbox-colored.mplstyle"
$ mkdir -p ~/.config/matplotlib/stylelib
$ curl "$url" -o ~/.config/matplotlib/stylelib/gruvbox-colored.mplstyle
To later use the matplotlib style, activate it within a Python session using:
import pylab
plt.style.use('gruvbox-colored')
To use it within every IPython session (like a Jupyter notebook), place it within a file in the startup directory, e.g. ~/.ipython/profile_default/startup/90-matplotlib
.