In [1]:
import matplotlib as mpl
In [18]:
import matplotlib.pyplot as plt
import numpy.random as random
%matplotlib inline
In [28]:
fig,axs = plt.subplots(2,3)
# axs=axs.flatten()
for i,axrow in enumerate(axs):
for ax in axrow:
if i==0:
ax.scatter(x,y, c='r')
else:
ax.scatter(x,y)
axs[0][1].plot([2,2],[3,3], 'g')
Out[28]:
In [21]:
axs
Out[21]:
In [ ]: