Removed reshape in layers
This commit is contained in:
parent
fbf31bce48
commit
8863cdff8d
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,6 @@ fig, ax = plt.subplots()
|
||||||
# )
|
# )
|
||||||
|
|
||||||
n = 0
|
n = 0
|
||||||
velk = velk.reshape((6001, 10, 2, 1251))
|
|
||||||
vk = np.sqrt((velk[n] ** 2).sum(axis=1))
|
vk = np.sqrt((velk[n] ** 2).sum(axis=1))
|
||||||
# print(vk.shape)
|
# print(vk.shape)
|
||||||
# plt.imshow(vk)
|
# plt.imshow(vk)
|
||||||
|
@ -83,6 +82,7 @@ def animate(k):
|
||||||
)
|
)
|
||||||
for i, l in enumerate(lines):
|
for i, l in enumerate(lines):
|
||||||
l.set_ydata(zk[k, i])
|
l.set_ydata(zk[k, i])
|
||||||
|
return *quiv, *lines
|
||||||
|
|
||||||
|
|
||||||
ani = animation.FuncAnimation(
|
ani = animation.FuncAnimation(
|
||||||
|
|
Loading…
Reference in a new issue