Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

dfshan/python3-plot-template

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This is a template about reading data with pandas and plotting data with matplotlib.

Requirements

  • 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

Install requirements in Centos 7

yum install python34 python34-tkinter
pip3 install -r requirements.txt

Use customized paper style

Option 1:

ln -s paper.mplstyle matplotlibrc

Option 2:

  1. Copy the style file paper.mplstyle into mpl_configdir/stylelib, where mpl_configdir denotes the configdir of matplotlib. mpl_configdir can be get by matplotlib.get_configdir().
# In MacOS
mkdir -p ~/.matplotlib/stylelib/
cp paper.mplstyle ~/.matplotlib/stylelib/
  1. Uncomment the line plt.style.use('paper') in plot.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.