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.3.tar.gz
(5.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file big_scatter-0.1.3.tar.gz.
File metadata
- Download URL: big_scatter-0.1.3.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
107fe41a93b7eecde306db03f96ca7f68b434af1fbbbda0f0d4e39a39dc2e41b
|
|
| MD5 |
83752890f4580623192c79dd7066c121
|
|
| BLAKE2b-256 |
c31185774dd857d3a9f7b4c9a00e7a339603f4d2dae7718134008a325abfd890
|
File details
Details for the file big_scatter-0.1.3-py3-none-any.whl.
File metadata
- Download URL: big_scatter-0.1.3-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.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e3082e04722a898b69ab153fb972fbcb4ad2b9e9574c17b10f2401d9fc9376e
|
|
| MD5 |
502672eeea4515e6bf4a752e264b4c1d
|
|
| BLAKE2b-256 |
f549f22ac04a2747fbf698ffccd631054b45afd718074c558c1b9b48669b4c38
|