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.6.1.tar.gz (11.5 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.6.1-py2.py3-none-any.whl (4.8 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for teeplot-0.6.1.tar.gz
Algorithm Hash digest
SHA256 a9d6d0d4a98505fe0307503d5d150d854fc22d6d0ad1cfd4b1ba1158d3b93e07
MD5 d88c8dc389f06ab4fd803c95774fecf1
BLAKE2b-256 7ae7bfa421b1428428dd4c1469b0c183000c7fc00a6f4f957a6e6a14b4c29946

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for teeplot-0.6.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cb96927b168c9b83dcd300bccb0dc8167826b1a65524cb474a192f60f0df5d0c
MD5 db88e823fb08681cd3ce9ca069531291
BLAKE2b-256 470c3893e3f31ec2df079816454b19dad3d2f5df30439fd1caff39c609ce1692

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