Skip to content

disadone/pyperplot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyperplot

matplotlibrc files for different journals.

you should set the legend parameter bbox_to_anchor=(1,1) for all graphs

intallation

python -m pip install --index-url https://test.pypi.org/simple/ --no-deps pyperplot --upgrade

or

python3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps pyperplot --upgrade

example

import pyperplot as ppp

with ppp.SF('hello',nrows=2) as (fig,axes):
    axes[0].plot([1,2,3])
    axes[1].plot([3,2,1])

or

import pyperplot as ppp

with ppp.SF('hello',figure_folder='figs',figure_type='svg',style='neuron-plot',nrows=2) as (fig,axes):
    axes[0].plot([1,2,3])
    axes[1].plot([3,2,1])

A file named 'hello.svg' should be generated in a folder named 'figs' automatically created.

see (unfinished) documentation

About

Figures management while writing papers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published