Skip to content

Commit c3c16b6

Browse files
committed
Remove unused variables
1 parent cfe596f commit c3c16b6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tutorials/introductory/animation_tutorial.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363

6464
xdata = np.arange(0, 2 * np.pi, 0.01)
6565
(line,) = ax.plot(xdata, np.sin(xdata), c="b")
66-
ax.grid()
6766
ax.set_ylim(-1.1, 1.1)
6867

6968

@@ -87,7 +86,6 @@ def update(frame):
8786
# `.collections.PathCollection.set_offsets` function.
8887

8988
fig, ax = plt.subplots()
90-
rng = np.random.default_rng()
9189
t = np.linspace(-4, 4, 400)
9290
a, b = 3, 2
9391
delta = np.pi / 2

0 commit comments

Comments
 (0)