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.2.0.tar.gz (11.0 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.2.0-py2.py3-none-any.whl (4.6 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: teeplot-0.2.0.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for teeplot-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6068c41048c7a2700cc973eec178e1947bd40729d1995a6a0b8eaf723311a84d
MD5 aa9ce77908452ce598b26c9d59c4f6c7
BLAKE2b-256 e7e1d4d52b5b64eb1b51b76e7eb5b082ea75e8f9ac3f5217606fe0ce17d9710c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: teeplot-0.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for teeplot-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2129d954dc3d892b87e6559c12d2c0eeb13bdb849438436e2f9a289a2271d1c4
MD5 5ff35049add05933de8b3a25dd361db0
BLAKE2b-256 6c9d1915da9872442b5b536c5337a0b7a072835e39b56611292009d686089a11

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