Skip to main content

teeplot automatically saves a copy of rendered Jupyter notebook plots

Project description

teeplot wordmark
https://img.shields.io/pypi/v/teeplot.svg https://github.com/mmore500/teeplot/actions/workflows/CI.yml/badge.svg

teeplot organizes saving data visualizations, automatically picking meaningful names based on semantic plotting variables

from teeplot import teeplot as tp
import seaborn as sns

# adapted from https://seaborn.pydata.org/examples/errorband_lineplots.html
tp.tee(
  sns.lineplot,
  x='timepoint',
  y='signal',
  hue='region',
  style='event',
  data=sns.load_dataset('fmri'),
  teeplot_outattrs={
    'additional' : 'metadata',
    'for' : 'output-filename',
  },
)

tp.tee(
  sns.catplot,
  data=sns.load_dataset('penguins'),
  kind='bar',
  x='species',
  y='body_mass_g',
  hue='sex',
  ci='sd',
  palette='dark',
  alpha=.6,
  height=6,
)

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2021-04-01)

  • First release on PyPI.

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

teeplot-0.7.0.tar.gz (253.7 kB view details)

Uploaded Source

Built Distribution

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

teeplot-0.7.0-py2.py3-none-any.whl (5.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file teeplot-0.7.0.tar.gz.

File metadata

  • Download URL: teeplot-0.7.0.tar.gz
  • Upload date:
  • Size: 253.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for teeplot-0.7.0.tar.gz
Algorithm Hash digest
SHA256 b488e8d9bf36fd128a0c31bd49ea849e4bb3e940af89ef7ae4d8a759663dec58
MD5 6a266242c51ce003a0d5ea9afdcd310c
BLAKE2b-256 dcc9d146a3f69ed4c11eb9b36e67f2ab7c571e4ddd94b279b7fc2d2080ed6235

See more details on using hashes here.

File details

Details for the file teeplot-0.7.0-py2.py3-none-any.whl.

File metadata

  • Download URL: teeplot-0.7.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for teeplot-0.7.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7a756dd2fe20e2f3a1b63634c330fd7fd00d99de408f9b89708430bc20a76605
MD5 c242e0c6f848eddae73558fffeca4925
BLAKE2b-256 cdf7474fe53847e01ec2044c4e003dd0c88a534082e5f26e02a7797570309816

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