Skip to main content

A wrapper of Plotly Python for lightweight plots

Project description

PyPI version License

plotly_light

A wrapper of Plotly Python aiming for lightweight plots and ease of use.

Main features

:heavy_check_mark: [SMALLER PLOT SIZE] Plotly Light does not keep all raw data for a bar plot including a histogram, meaning you can keep the file size of a Jupyter Notebook file or a HTML file containing the plot very small even when drawing a histogram with a huge dataset.

:heavy_check_mark: [SEPARATE DIRECTORY FOR HTML PLOTS] By default, each plot drawn by Plotly Light in a Jupyter Notebook is saved as a HTML file in a directory named <notebook-basename>.iframe_figures/, enabling us to keep the file size of a Notebook small and to easily obtain a single HTML file only of a plot. This feature can be disabled.

:heavy_check_mark: [COMPREHENSIBLE FUNCTION ARGUMENTS] All positional and optional arguments of the functions in Plotly Light are explicitly written (without using *args nor **kwargs), meaning you can easily find an argument you want by peeking the definition and docstring of a function (which is a feature typically provided by Jupyter Notebook and other editors).

:x: [LIMITED FEATURES AVAILABLE] We provide only basic plotting functions and features, meaning not everything you can do with the original Plotly can be done with Plotly Light. However, Plotly Light is usually sufficient for most of the simple purposes.

Requirements

  • Python >= 3.7 (CPython is recommended)

How to install

1. Via PyPI (recommended)

$ pip install plotly-light

2. Via this GitHub repository

$ git clone https://github.com/yoshihikosuzuki/plotly_light
$ cd plotly_light
$ pip install .

How to use

See Reference.

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

plotly-light-1.0.6.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

plotly_light-1.0.6-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

Details for the file plotly-light-1.0.6.tar.gz.

File metadata

  • Download URL: plotly-light-1.0.6.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.12+

File hashes

Hashes for plotly-light-1.0.6.tar.gz
Algorithm Hash digest
SHA256 82849d142316b51dad4070b34af474dba5dfdc975cca96b771bc562ce25432c6
MD5 387484c59edc6fb2f0f6f64fc3001843
BLAKE2b-256 4a21c9b4e62b278e513df24c0ec149fbb3b3793bb60a13a1274d071d467a753c

See more details on using hashes here.

File details

Details for the file plotly_light-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: plotly_light-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 20.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.12+

File hashes

Hashes for plotly_light-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 703dd2cf0f52f8e803e5be23da1e3c984425a3369d65a0203a82504b8daf0f6d
MD5 1e1b5c7d7975cb9bb06b21060580a7c3
BLAKE2b-256 282c41ba06045d4167e7400292fa1f660f820b31f02cff155c84931d2eee019d

See more details on using hashes here.

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