File tree Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change 1
1
"""
2
- ==========================
3
- An animated lissajous ball
4
- ==========================
5
-
6
- Inspired by https://twitter.com/_brohrer_/status/1584681864648065027
7
-
2
+ ==================================================
3
+ An simple scatter plot using PathCollectionWrapper
4
+ ==================================================
8
5
6
+ A quick example using ``containers.ArrayContainer`` and ``wrappers.PathCollectionWrapper``.
9
7
"""
10
8
import numpy as np
11
9
16
14
17
15
from data_prototype .wrappers import PathCollectionWrapper
18
16
19
-
20
- def update (frame , art ):
21
- return art
22
-
23
-
24
17
marker_obj = mmarkers .MarkerStyle ("o" )
25
18
26
19
cont = ArrayContainer (
@@ -37,7 +30,4 @@ def update(frame, art):
37
30
ax .set_ylim (0 , 5 )
38
31
lw = PathCollectionWrapper (cont , offset_transform = ax .transData )
39
32
ax .add_artist (lw )
40
- # ax.set_xticks([])
41
- # ax.set_yticks([])
42
- # ax.set_aspect(1)
43
33
plt .show ()
You can’t perform that action at this time.
0 commit comments