Matplotlib: Difference between revisions

13 bytes removed ,  17 June 2020
Line 34: Line 34:
===Multiple Figures===
===Multiple Figures===
<syntaxhighlight lang="python">
<syntaxhighlight lang="python">
plt.figure()
f, axarr = plt.subplots(3,1)
f, axarr = plt.subplots(3,1)
axarr[0].imshow(np.clip(x_val[0, 0, :, :, :].numpy(), 0, 1))
axarr[0].imshow(np.clip(x_val[0, 0, :, :, :].numpy(), 0, 1))