# Implementation of matplotlib function
import numpy as np
import matplotlib.pyplot as plt
np.random.seed(19)
data = np.random.random((5, 10, 10))
fig, ax = plt.subplots()
for i in range(len(data)):
ax.cla()
ax.imshow(data[i])
ax.set_title("Axes {}".format(i))
plt.pause(0.1)