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 11"""
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+ ==================================================
85
6+ A quick example using ``containers.ArrayContainer`` and ``wrappers.PathCollectionWrapper``.
97"""
108import numpy as np
119
1614
1715from data_prototype .wrappers import PathCollectionWrapper
1816
19-
20- def update (frame , art ):
21- return art
22-
23-
2417marker_obj = mmarkers .MarkerStyle ("o" )
2518
2619cont = ArrayContainer (
@@ -37,7 +30,4 @@ def update(frame, art):
3730ax .set_ylim (0 , 5 )
3831lw = PathCollectionWrapper (cont , offset_transform = ax .transData )
3932ax .add_artist (lw )
40- # ax.set_xticks([])
41- # ax.set_yticks([])
42- # ax.set_aspect(1)
4333plt .show ()
You can’t perform that action at this time.
0 commit comments