Skip to main content

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

Project description

big_scatter

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.4.tar.gz (5.2 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.4-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for big_scatter-0.1.4.tar.gz
Algorithm Hash digest
SHA256 60a40fefd1197173597349fed038d75aea09d93bff62f6ab6da25f8fefe6467c
MD5 ffe25bac57838e2f9fa2c980a7dfbdac
BLAKE2b-256 61e9414ec9e53f319bf3ad73c26ffc42be81e44a2e939b4004c58b5e02663af8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for big_scatter-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ea8962ff9008da5ca127f1997ffef0142356cfb141a0f04a4a20fbd0b2ddb502
MD5 a9a0112e2793dc0eb9ea9b95e9018764
BLAKE2b-256 a9f07a7eefa043bd9c625b563e5507d4126b1dfc40e3ec6f5f5f9c43ad61c981

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