I have a 5D array called data
for i in range(10):
sns.distplot(data[i,0,0,0], hist=False)
But I want to make them inside subplots instead. How can I do it?
Tried this:
plt.rc('figure', figsize=(4, 4))
fig=plt.figure()
fig, ax = plt.subplots(ncols=4, nrows=3)
for i in range(10):
ax[i].sns.distplot(data[i,0,0,0], hist=False)
plt.show()
This obviously doesn't work.