pygraphistry icon indicating copy to clipboard operation
pygraphistry copied to clipboard

[BUG] scene settings for point_size not always setting to correct value

Open DataBoyTX opened this issue 10 months ago • 0 comments

Describe the bug

Customer reports that trying to set the point_size via scene_settings doesn't always set correctly.

Comment from user:

mismatch in the scale of the UI input and what is available on the API. Either update documentation or make the UI and API like-for-like

To Reproduce

use for_analysis.ipynb, set the following scene settings and see point_size doesn't match in the UI

g2 = g.scene_settings(
  point_size=0.2,
  edge_curvature=0.0,
  edge_opacity=0.5,
  point_opacity=0.9
)
g2.plot()

Expected behavior point size should be 20

Actual behavior point size showing 15, sometimes other values

Screenshots image

Screenshot (1325)

DataBoyTX avatar Jan 07 '25 03:01 DataBoyTX