Skip to content

matplotlib utils for getting figures publication-ready

License

Notifications You must be signed in to change notification settings

kb-press/mplpub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mplpub

mplpub is a collection of functions for taking a carefully made matplotlib figure and getting it ready for showtime in a document.

Currently implemented functions:

  • vertical_aspect: Adjust figure height and vertical spacing so a sub-plot plotting area has a specified aspect ratio and the overall figure has top/bottom margins from tight_layout.
  • horizontal_center: Apply matplotlib's tight_layout to the left margin while keeping the plot contents centered.

About

matplotlib utils for getting figures publication-ready

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages