This is a template about reading data with pandas
and plotting data with matplotlib
.
python3
tkinter
(python34-tkinter
package for Centos 7,python3-tk
package for Ubuntu,python-pmw
package for Arch Linux)- Other packages in
requirements.txt
LaTeX
yum install python34 python34-tkinter
pip3 install -r requirements.txt
ln -s paper.mplstyle matplotlibrc
- Copy the style file
paper.mplstyle
intompl_configdir/stylelib
, wherempl_configdir
denotes the configdir of matplotlib.mpl_configdir
can 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