I found this beautiful ggplot color scheme for matplotlib and want to use it for a specific project.
According to the matplotlib documentation, a custom color scheme should not overwrite the default value in site-packages, but instead be placed in $HOME/.matplotlib. But what is equivalent to $HOMEin venv? In particular: how can I make sure that this color scheme is not overwritten when installing / updating a newmatplotlib
site-packages
$HOME/.matplotlib
$HOME
venv
matplotlib
Is there a reason why you don’t just want to save it in your actual directory $HOME?
Virtualenv - Python. , . , $HOME $HOME .
Matplotlib, , matplotlibrc:
matplotlibrc
~/.matplotlib/matplotlibrc
Voithos MPLtools, :
mpltools "" - , , matplotlibrc. "ggplot", ggplot
: -)
http://tonysyu.github.com/mpltools/auto_examples/style/plot_ggplot.html