Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,4 @@ dmypy.json
.vscode/

examples/desktop/diffs/*.png
docs/source/_gallery/
2 changes: 1 addition & 1 deletion examples/scatter/spinning_spiral.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
canvas_kwargs={"max_fps": 500, "vsync": False}
)

spiral = figure[0, 0].add_scatter(data, cmap="viridis_r", alpha=0.5, sizes=sizes)
spiral = figure[0, 0].add_scatter(data, cmap="viridis_r", edge_colors=None, alpha=0.5, sizes=sizes)

# pre-generate normally distributed data to jitter the points before each render
jitter = np.random.normal(scale=0.001, size=n * 3).reshape((n, 3))
Expand Down
3 changes: 1 addition & 2 deletions fastplotlib/graphics/scatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ def __init__(
* Matplotlib compatible characters: "osD+x^v<>*".
* Unicode symbols: "●○■♦♥♠♣✳▲▼◀▶".
* Emojis: "❤️♠️♣️♦️💎💍✳️📍".
* A string containing the value "custom". In this case, the WGSL
code defined by ``custom_sdf`` will be used.
* A string containing the value "custom". In this case, WGSL code defined by ``custom_sdf`` will be used.

uniform_marker: bool, default False
Use the same marker for all points. Only valid when `mode` is "markers". Useful if you need to use
Expand Down
5 changes: 2 additions & 3 deletions fastplotlib/layouts/_graphic_methods_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,11 +497,10 @@ def add_scatter(
Supported values:

* A string from pygfx.MarkerShape enum
* Matplotlib compatible characters: "osD+x^v<>".
* Matplotlib compatible characters: "osD+x^v<>*".
* Unicode symbols: "●○■♦♥♠♣✳▲▼◀▶".
* Emojis: "❤️♠️♣️♦️💎💍✳️📍".
* A string containing the value "custom". In this case, the WGSL
code defined by ``custom_sdf`` will be used.
* A string containing the value "custom". In this case, WGSL code defined by ``custom_sdf`` will be used.

uniform_marker: bool, default False
Use the same marker for all points. Only valid when `mode` is "markers". Useful if you need to use
Expand Down
Loading