Skip to main content

bqplot plugin providing marks powered by WebGL

Project description

bqplot-gl

Plugin to bqplot powered by WebGL.

Installation

pip install --pre bqplot-gl bqplot

Usage

bqplot-gl provides marks that make use of WebGL for the rendering, providing better performances.

Those marks have the same APIs as their equivalent in bqplot.

from bqplot import *
from bqplot_gl import LinesGL, ScatterGL

import numpy as np
import pandas as pd

n_points = 150_000

np.random.seed(0)
y = np.cumsum(np.random.randn(n_points)) + 100.

sc_x = LinearScale()
sc_y = LinearScale()

scatter = ScatterGL(
    x=np.arange(len(y)), y=y,
    default_size=1,
    scales={'x': sc_x, 'y': sc_y}
)
ax_x = Axis(scale=sc_x, label='Index')
ax_y = Axis(scale=sc_y, orientation='vertical', label='Points')

Figure(marks=[scatter], axes=[ax_x, ax_y], title='Scatter powered by WebGL')

bqplot-gl

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

bqplot_gl-0.1.1.tar.gz (5.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bqplot_gl-0.1.1-py2.py3-none-any.whl (5.1 MB view details)

Uploaded Python 2Python 3

File details

Details for the file bqplot_gl-0.1.1.tar.gz.

File metadata

  • Download URL: bqplot_gl-0.1.1.tar.gz
  • Upload date:
  • Size: 5.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bqplot_gl-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e70cfca5c2d6f96959dcdcb254a01e5006617f1401a85f35977fae96232251dc
MD5 6d3aee37da941e8c079b10bcbeced21a
BLAKE2b-256 f65b11e12183646410d1a1ea05e75a66a87a42941b6dcdcdcc2e3c08b836c28a

See more details on using hashes here.

Provenance

The following attestation bundles were made for bqplot_gl-0.1.1.tar.gz:

Publisher: build.yml on bqplot/bqplot-gl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bqplot_gl-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: bqplot_gl-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.1 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bqplot_gl-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 72ead5e6c57b4489b99779a6bb43b8c24d1d6b8cd29a21253086e8b7dc0cfab4
MD5 bab783da17162f3209a28590e0d33f0f
BLAKE2b-256 a84d73a389b96fcc28370235a47bcb6af458ea2236fd870a4597f1ad916034b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for bqplot_gl-0.1.1-py2.py3-none-any.whl:

Publisher: build.yml on bqplot/bqplot-gl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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