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]:
[<matplotlib.lines.Line2D at 0xccfc860>]

In [21]:
axs


Out[21]:
array([[<matplotlib.axes._subplots.AxesSubplot object at 0x000000000CE51F60>,
        <matplotlib.axes._subplots.AxesSubplot object at 0x000000000CF21358>,
        <matplotlib.axes._subplots.AxesSubplot object at 0x000000000D059B38>],
       [<matplotlib.axes._subplots.AxesSubplot object at 0x000000000B40F3C8>,
        <matplotlib.axes._subplots.AxesSubplot object at 0x000000000C04FF60>,
        <matplotlib.axes._subplots.AxesSubplot object at 0x000000000AFF2BE0>]], dtype=object)

In [ ]: