This is a template about reading data with pandas and plotting data with matplotlib.
python3tkinter(python34-tkinterpackage for Centos 7,python3-tkpackage for Ubuntu,python-pmwpackage for Arch Linux)- Other packages in
requirements.txt LaTeX
yum install python34 python34-tkinter
pip3 install -r requirements.txtln -s paper.mplstyle matplotlibrc- Copy the style file
paper.mplstyleintompl_configdir/stylelib, wherempl_configdirdenotes the configdir of matplotlib.mpl_configdircan be get bymatplotlib.get_configdir().
# In MacOS
mkdir -p ~/.matplotlib/stylelib/
cp paper.mplstyle ~/.matplotlib/stylelib/- Uncomment the line
plt.style.use('paper')inplot.py