Skip to content

Commit 8a4cab8

Browse files
committed
better spin rate for docs gallery
1 parent ab2f68b commit 8a4cab8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/scatter/spinning_spiral.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
figure = fpl.Figure(
3232
cameras="3d",
3333
size=(700, 560),
34-
canvas_kwargs={"max_fps": 600, "vsync": False}
34+
canvas_kwargs={"max_fps": 500, "vsync": False}
3535
)
3636

3737
spiral = figure[0, 0].add_scatter(data, cmap="viridis_r", alpha=0.5, sizes=sizes)
@@ -42,7 +42,7 @@
4242

4343
def update():
4444
# rotate around y axis
45-
spiral.rotate(0.0005, axis="y")
45+
spiral.rotate(0.005, axis="y")
4646

4747
# add small jitter
4848
spiral.data[:] += jitter

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy