Skip to main content

PyPI version License

plotly_light

A wrapper of Plotly Python aiming for lightweight plots.

Main features

✔️ [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.

✔️ [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.

✔️ [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).

❌ [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
  • Plotly Python >=6
  • Jupyter Notebook >= 7 (required by Plotly Python)

How to install

1. Via PyPI

$ 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.

Metadata

Release files for plotly-light 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plotly-light 2.0.1
File Size Uploaded Provenance Actions
plotly_light-2.0.1.tar.gz 19.2 kB Without provenance Details for plotly_light-2.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for plotly-light 2.0.1
File Interpreter ABI Platform Actions
plotly_light-2.0.1-py3-none-any.whl Python 3 none any Details for plotly_light-2.0.1-py3-none-any.whl

Total release size: 42.4 kB

Release files / plotly_light-2.0.1.tar.gz

Download URL plotly_light-2.0.1.tar.gz
Size 19.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7b789449a163a1ade7f4f504e5c241ed8936f48ad2198f5f2429439070515a14
BLAKE2b-256 checksum
How to use checksums
5564e8ad18188706f5075eb7484f8cd52953a75c6e1cc5122daf10ccc5ee1987
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / plotly_light-2.0.1-py3-none-any.whl

Download URL plotly_light-2.0.1-py3-none-any.whl
Size 23.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea6e5d3694a2c192ae3f149dd49363081ab4e94c245f4645605509f52e2d2b10
BLAKE2b-256 checksum
How to use checksums
20ef62e098c2a3270b3d896b39c7384f481b2ed2917784e11998cf7fc6f54d0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Security for plotly-light 2.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page