Skip to main content

Small extensions to Matplotlib

Project description

mpl-ornaments

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

The titles module

The title module allows to add title and subtitle to a Matplotlib's Figure in a simple and neat 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mpl-ornaments-0.0.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mpl_ornaments-0.0.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file mpl-ornaments-0.0.1.tar.gz.

File metadata

  • Download URL: mpl-ornaments-0.0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for mpl-ornaments-0.0.1.tar.gz
Algorithm Hash digest
SHA256 fbca3f56021b60c4b6b2a7c9e344351066d7532daa22315d47a793b46e086aea
MD5 f0a24a1fbacd355d10a767cb9a9ec12c
BLAKE2b-256 c7d56505a4c80d6b478408edbfe80f7063c5a123ddc7cce6f423d5e65236c239

See more details on using hashes here.

File details

Details for the file mpl_ornaments-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: mpl_ornaments-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for mpl_ornaments-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3cd1602c3c8033535ede3bad4dcb5552da13f66263d2a9cce2a64ce271eccf7c
MD5 1a644cea5102bb70ada2b8368876f11d
BLAKE2b-256 25b2e5bef26f13eaa5ef18efde0e360440dfdfe101e6920b538769479444a95c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page