Matplotlib: TypeError: 'AxesSubplot' object is not subscriptable : <p>I am trying to make a simple box plot of a variable 'x' contained in two dataframes, df1 and df2. To do this I am using the following code:</p>

<pre><code>fig, axs = plt.subplots()
axs[0, 0].boxplot([df1['x'], df2['x']])
plt.show();
</code></pre>

<p>However, I get this:</p>

<pre><code>---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
&lt;ipython-input-108-ce962754d553&gt; in &lt;module&gt;()
----&gt; 2 axs[0, 0].boxplot([df1['x'], df2['x']])
      3 plt.show();
      4 

TypeError: 'AxesSubplot' object is not subscriptable
</code></pre>

<p>Any ideas?</p>
