Skip to main content

teeplot automatically saves a copy of rendered Jupyter notebook plots

Project description

teeplot

https://img.shields.io/pypi/v/teeplot.svg https://img.shields.io/travis/mmore500/teeplot.svg Documentation Status

teeplot automatically saves a copy of rendered Jupyter notebook plots

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.1.1.tar.gz (10.3 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.1.1-py2.py3-none-any.whl (4.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: teeplot-0.1.1.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for teeplot-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e54d9779f29fa6054d05600dc27feccd7904300207dfca08c5f036fec07ea03c
MD5 342b2e215e7d18d28e98e279c74f005b
BLAKE2b-256 49b9111f1e7f8a56223d077b2351ebe8198b6790be09e7224ca7869580eb23b4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: teeplot-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for teeplot-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6e38561877234e69a3574589f5258779502eea43a1be09e287061c42c331dcfb
MD5 79bff84710ff7c838f307d130e740259
BLAKE2b-256 c5355a333f46f084a2bb7cd567bf8e62e3a649cb05b2752eb1f4b18fd51c8514

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