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.2.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.2-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: big_scatter-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 fda2cd801d8083d2aeefb1baa7e8907c1ae42f99ba13f2dc46301050686cf797
MD5 491a21816b50c3cf11f8809fde06d1a8
BLAKE2b-256 484024c483ea7f934628152735346c8b08734a64da4d549b635ecaeca3098bc5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: big_scatter-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 714d16650ff77af9e3e8e5588cdba2fa1586af4dea28c7ceef89f2789318c596
MD5 174b35695710e5a984ad4766a3b816d1
BLAKE2b-256 686687fab02b8c5af089dce408d27d5b2bfb0765d85de8ff058513adf331c556

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