Skip to main content
ninejs logo

ninejs

Coverage Python Versions

Bringing ✨interactivity✨ to plotnine.

ninejs adds interactive behavior to plotnine charts with a minimal API. You can attach tooltips, hover grouping, and on click events directly from aes(), then export the result as a standalone HTML plot. All of this with just 2 lines of code!

See examples.


Quick start

from plotnine import aes, geom_point, ggplot, theme_minimal
from plotnine.data import anscombe_quartet

from ninejs import interactive, save

gg = (
  ggplot(
      anscombe_quartet,
      aes(x="x", y="y", color="dataset", tooltip="dataset", hover_group="dataset")
  )
  + geom_point(size=7, alpha=0.5)
  + theme_minimal()
)

interactive(gg) + save("plot.html")

Interactive scatterplot of Anscombe's quartet grouped by dataset with a visible tooltip


Installation

pip install ninejs

Documentation

See the full documentation and examples here.

See the contributing guide for local setup, tests, and formatting.

Metadata

Release files for ninejs 0.1.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 ninejs 0.1.1
File Size Uploaded
ninejs-0.1.1.tar.gz 9.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for ninejs 0.1.1
File Interpreter ABI Platform
ninejs-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.8 MB

Release files / ninejs-0.1.1.tar.gz

Download URL ninejs-0.1.1.tar.gz
Size 9.6 MB
Tags Source
SHA-256 checksum
How to use checksums
2d04a579a091e8498b622fefa59450d879f5d99f99161d7d164a0486c5e78e34
BLAKE2b-256 checksum
How to use checksums
11b6e8d110cf033bf0f546e479739a22e09a9a716741cdfb191209c98b6b76a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 7, 2026.

Transparency log

Release files / ninejs-0.1.1-py3-none-any.whl

Download URL ninejs-0.1.1-py3-none-any.whl
Size 186.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
290a4602c5541405280780b696ba204bb6a3c313d724fa0cd25fa28f230c1884
BLAKE2b-256 checksum
How to use checksums
02cdb716aaa5c181855ec665ef15f342423b90c01a91ef9f5c3fb996cfb6d8f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 7, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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