Skip to content

bianconif/mpl_ornaments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mpl-ornaments

A library featuring some extensions to Matplotlib. Full documentation available here.

Installation

pip install mpl-ornaments

Usage

The titles module

The title module allows to add title and subtitle to a Matplotlib's Figure in a and neat and easy way.

Example

import matplotlib.pyplot as plt
from mpl_ornaments.titles import set_title_and_subtitle

fig, ax = plt.subplots(figsize=(5,6))
set_title_and_subtitle(fig=fig, title='Figure title', subtitle='Figure subtitle')
fig.savefig(fname='title1.png')

The above code produces the following result:

title1

About

A library featuring some extensions to Matplotlib.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages