Skip to content

Commit 5413678

Browse files
committed
Fix description and remove unused code from scatter example
1 parent 4a722cc commit 5413678

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

examples/simple_scatter.py

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
"""
2-
==========================
3-
An animated lissajous ball
4-
==========================
5-
6-
Inspired by https://twitter.com/_brohrer_/status/1584681864648065027
7-
8-
2+
==================================================
3+
An simple scatter plot using PathCollectionWrapper
4+
==================================================
95
"""
106
import numpy as np
117

@@ -16,11 +12,6 @@
1612

1713
from data_prototype.wrappers import PathCollectionWrapper
1814

19-
20-
def update(frame, art):
21-
return art
22-
23-
2415
marker_obj = mmarkers.MarkerStyle("o")
2516

2617
cont = ArrayContainer(
@@ -37,7 +28,4 @@ def update(frame, art):
3728
ax.set_ylim(0, 5)
3829
lw = PathCollectionWrapper(cont, offset_transform=ax.transData)
3930
ax.add_artist(lw)
40-
# ax.set_xticks([])
41-
# ax.set_yticks([])
42-
# ax.set_aspect(1)
4331
plt.show()

0 commit comments

Comments
 (0)