Skip to main content

Simple jupyter widget to draw and explore a large set of 2D datapoints.

Project description

lineplot

Simple jupyter widget to draw and explore a large set of 2D datapoints.

Installation

pip install big_scatter

Example usage

import big_scatter
import numpy as np

X = np.random.randn(200000, 2)
Y = np.arange(X.shape[0])

import big_scatter

big_scatter.draw(X, Y)

Arguments to draw()

points                point coordinates as a numpy array of shape (N, 2)
labels                point labels as a list or numpy array of size N
width='50%'           width of widget in jupyter
color='blue'          point color as a list of size N or a single string
size=1                point size as list or number
shape='square'        point shape as list or string (square or circle)
pick_radius=15        radius when searching for points closest to the cursor
pick_limit=20         number of closest labels to show
html_labels=False     set to True to interpret labels as HTML

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

big_scatter-0.1.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

big_scatter-0.1.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: big_scatter-0.1.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for big_scatter-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a732d757d4c258fd747aaca630f08936a72a62f84061f81299e5609d0acd62a7
MD5 0bb200b6ceb56ba4145b0f174810a0db
BLAKE2b-256 88c5391fb29e0c26dd2261bdede0f5975402f423a5ecbf88f119148c286d3ee4

See more details on using hashes here.

File details

Details for the file big_scatter-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: big_scatter-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for big_scatter-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 702261ffebff149394574b0136e537fc9a9a498e886e3df9bcd18b685a95f4bc
MD5 d1a50ca7a1b5d58cc3f1d1df15d1172c
BLAKE2b-256 6740f4b38a44a48946f6cd65bec283d37441d3ebba0ef2c720c012babcfffc46

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