scipp / scipp/plopp

Add variable sizes of points in scatter3d

Open
#535 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
12
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Currently, size in the scatter3d plot is limited to just being a number: the same size for all points.

The pythreejs points by default only supports one size.
However, we can use the custom vertex and fragment shaders from Matplotgl to implement variable sizes.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the scatter3d implementation and its pythreejs points setup, then read the referenced Matplotgl src/matplotgl/points.py implementation. Confirm how variable sizes are represented and identify the existing scatter3d tests or examples. Done means scatter3d accepts per-point sizes instead of only one shared size.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.