scatter3d-anywidget 0.1.4__py3-none-any.whl → 0.1.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
scatter3d/widget_test.py CHANGED
@@ -23,6 +23,9 @@ def _():
23
23
  countries = random.choices(countries_list, k=num_points)
24
24
  countries = Category(pandas.Series(countries, name="countries"))
25
25
 
26
+ species2 = random.choices(species_list, k=num_points)
27
+ species2 = Category(pandas.Series(species2, name="species2"), editable=False)
28
+
26
29
  w = Scatter3dWidget(xyz=points, category=species, point_ids=point_ids)
27
30
  w.height = 800
28
31
  ui = marimo.ui.anywidget(w)
@@ -43,12 +46,8 @@ def _(category, ui, w):
43
46
 
44
47
 
45
48
  @app.cell
46
- def _(species, ui, w):
47
- ui.lasso_result_t
48
- print(species.values.value_counts())
49
- print(species.num_unassigned)
50
- print(species.values)
51
- print(w.point_ids)
49
+ def _(w):
50
+ print(w.active_category)
52
51
  return
53
52
 
54
53
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: scatter3d-anywidget
3
- Version: 0.1.4
3
+ Version: 0.1.6
4
4
  Summary: 3D scatter widget with lasso selection
5
5
  License: MIT
6
6
  Classifier: Development Status :: 3 - Alpha
@@ -0,0 +1,8 @@
1
+ scatter3d/__init__.py,sha256=nVTx6roiwzTe5lpGoMHw7pDZovHdhbxcVOgg4J3trT4,142
2
+ scatter3d/scatter3d.py,sha256=YWoYl1KoiVWphDM43Hm4y_Guj-FL1zDj791s9OeeM4w,38964
3
+ scatter3d/static/scatter3d.js,sha256=-Rr1UZ6Pq5aftlu2U8Jo6QV8bDKDHdzlBKdrLXpqFhg,895658
4
+ scatter3d/static/scatter3d.js.map,sha256=fu8v8UiyY-cuOoNKlBStcQZSprH7oRYhGE-pqpx4vgc,3032982
5
+ scatter3d/widget_test.py,sha256=yo4z8aga7-140FbLVW8xWxq5h32yIH3IT6j7OljDJB0,1296
6
+ scatter3d_anywidget-0.1.6.dist-info/WHEEL,sha256=fAguSjoiATBe7TNBkJwOjyL1Tt4wwiaQGtNtjRPNMQA,80
7
+ scatter3d_anywidget-0.1.6.dist-info/METADATA,sha256=-8yuM5Iz7b_rI-TQAKjD8TuDVSLd9pCTVCKGpPddPCs,4697
8
+ scatter3d_anywidget-0.1.6.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: uv 0.9.27
2
+ Generator: uv 0.9.28
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,8 +0,0 @@
1
- scatter3d/__init__.py,sha256=nVTx6roiwzTe5lpGoMHw7pDZovHdhbxcVOgg4J3trT4,142
2
- scatter3d/scatter3d.py,sha256=CzbrNEy0OawN-RvQNLktgauJ43C9purNTJAIJf8vi78,37219
3
- scatter3d/static/scatter3d.js,sha256=HwiDlt1pOW2vKXNjN4lBvvDARuhutPP5934CBCzPxzA,894314
4
- scatter3d/static/scatter3d.js.map,sha256=sQsIdXZDts0NdySQCXbCDSRm-3TWIYQW4DVe2y-nKHA,3028614
5
- scatter3d/widget_test.py,sha256=Q9ekr-L0R6Nz9_2CBFufEpZSwo4ZOfInKV_OkIx8KaY,1285
6
- scatter3d_anywidget-0.1.4.dist-info/WHEEL,sha256=e_m4S054HL0hyR3CpOk-b7Q7fDX6BuFkgL5OjAExXas,80
7
- scatter3d_anywidget-0.1.4.dist-info/METADATA,sha256=O4dy_h9-Np2f1A46X54_V7dElBf44wFrKbXtm4IENGQ,4697
8
- scatter3d_anywidget-0.1.4.dist-info/RECORD,,