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 hashes)

Uploaded Source

Built Distribution

teeplot-0.1.1-py2.py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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