<p dir="auto">The following code raises an error (tested on pandas 0.17.0, matplotlib 1.4.3, and Python 3.4.2)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; fig, ax = plt.subplots()
&gt;&gt;&gt; fig.add_axes([0.2, 0.2, 0.2, 0.2])
&gt;&gt;&gt; pd.Series(np.random.rand(100)).plot(ax=ax)
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
&lt;ipython-input-13-80531efe48c4&gt; in &lt;module&gt;()
      8 fig, ax = plt.subplots()
      9 inset = fig.add_axes([0.2, 0.2, 0.2, 0.2])
---&gt; 10 data.plot(ax=ax)

/Users/jakevdp/anaconda/envs/python3.4/lib/python3.4/site-packages/pandas/tools/plotting.py in __call__(self, kind, ax, figsize, use_index, title, grid, legend, style, logx, logy, loglog, xticks, yticks, xlim, ylim, rot, fontsize, colormap, table, yerr, xerr, label, secondary_y, **kwds)
   3491                            colormap=colormap, table=table, yerr=yerr,
   3492                            xerr=xerr, label=label, secondary_y=secondary_y,
-&gt; 3493                            **kwds)
   3494     __call__.__doc__ = plot_series.__doc__
   3495 

/Users/jakevdp/anaconda/envs/python3.4/lib/python3.4/site-packages/pandas/tools/plotting.py in plot_series(data, kind, ax, figsize, use_index, title, grid, legend, style, logx, logy, loglog, xticks, yticks, xlim, ylim, rot, fontsize, colormap, table, yerr, xerr, label, secondary_y, **kwds)
   2581                  yerr=yerr, xerr=xerr,
   2582                  label=label, secondary_y=secondary_y,
-&gt; 2583                  **kwds)
   2584 
   2585 

/Users/jakevdp/anaconda/envs/python3.4/lib/python3.4/site-packages/pandas/tools/plotting.py in _plot(data, x, y, subplots, ax, kind, **kwds)
   2378         plot_obj = klass(data, subplots=subplots, ax=ax, kind=kind, **kwds)
   2379 
-&gt; 2380     plot_obj.generate()
   2381     plot_obj.draw()
   2382     return plot_obj.result

/Users/jakevdp/anaconda/envs/python3.4/lib/python3.4/site-packages/pandas/tools/plotting.py in generate(self)
    990             self._post_plot_logic_common(ax, self.data)
    991             self._post_plot_logic(ax, self.data)
--&gt; 992         self._adorn_subplots()
    993 
    994     def _args_adjust(self):

/Users/jakevdp/anaconda/envs/python3.4/lib/python3.4/site-packages/pandas/tools/plotting.py in _adorn_subplots(self)
   1141                                 naxes=nrows * ncols, nrows=nrows,
   1142                                 ncols=ncols, sharex=self.sharex,
-&gt; 1143                                 sharey=self.sharey)
   1144 
   1145         for ax in self.axes:

/Users/jakevdp/anaconda/envs/python3.4/lib/python3.4/site-packages/pandas/tools/plotting.py in _handle_shared_axes(axarr, nplots, naxes, nrows, ncols, sharex, sharey)
   3378                 layout = np.zeros((nrows+1,ncols+1), dtype=np.bool)
   3379                 for ax in axarr:
-&gt; 3380                     layout[ax.rowNum, ax.colNum] = ax.get_visible()
   3381 
   3382                 for ax in axarr:

AttributeError: 'Axes' object has no attribute 'rowNum'"><pre class="notranslate"><code class="notranslate">&gt;&gt;&gt; fig, ax = plt.subplots()
&gt;&gt;&gt; fig.add_axes([0.2, 0.2, 0.2, 0.2])
&gt;&gt;&gt; pd.Series(np.random.rand(100)).plot(ax=ax)
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
&lt;ipython-input-13-80531efe48c4&gt; in &lt;module&gt;()
      8 fig, ax = plt.subplots()
      9 inset = fig.add_axes([0.2, 0.2, 0.2, 0.2])
---&gt; 10 data.plot(ax=ax)

/Users/jakevdp/anaconda/envs/python3.4/lib/python3.4/site-packages/pandas/tools/plotting.py in __call__(self, kind, ax, figsize, use_index, title, grid, legend, style, logx, logy, loglog, xticks, yticks, xlim, ylim, rot, fontsize, colormap, table, yerr, xerr, label, secondary_y, **kwds)
   3491                            colormap=colormap, table=table, yerr=yerr,
   3492                            xerr=xerr, label=label, secondary_y=secondary_y,
-&gt; 3493                            **kwds)
   3494     __call__.__doc__ = plot_series.__doc__
   3495 

/Users/jakevdp/anaconda/envs/python3.4/lib/python3.4/site-packages/pandas/tools/plotting.py in plot_series(data, kind, ax, figsize, use_index, title, grid, legend, style, logx, logy, loglog, xticks, yticks, xlim, ylim, rot, fontsize, colormap, table, yerr, xerr, label, secondary_y, **kwds)
   2581                  yerr=yerr, xerr=xerr,
   2582                  label=label, secondary_y=secondary_y,
-&gt; 2583                  **kwds)
   2584 
   2585 

/Users/jakevdp/anaconda/envs/python3.4/lib/python3.4/site-packages/pandas/tools/plotting.py in _plot(data, x, y, subplots, ax, kind, **kwds)
   2378         plot_obj = klass(data, subplots=subplots, ax=ax, kind=kind, **kwds)
   2379 
-&gt; 2380     plot_obj.generate()
   2381     plot_obj.draw()
   2382     return plot_obj.result

/Users/jakevdp/anaconda/envs/python3.4/lib/python3.4/site-packages/pandas/tools/plotting.py in generate(self)
    990             self._post_plot_logic_common(ax, self.data)
    991             self._post_plot_logic(ax, self.data)
--&gt; 992         self._adorn_subplots()
    993 
    994     def _args_adjust(self):

/Users/jakevdp/anaconda/envs/python3.4/lib/python3.4/site-packages/pandas/tools/plotting.py in _adorn_subplots(self)
   1141                                 naxes=nrows * ncols, nrows=nrows,
   1142                                 ncols=ncols, sharex=self.sharex,
-&gt; 1143                                 sharey=self.sharey)
   1144 
   1145         for ax in self.axes:

/Users/jakevdp/anaconda/envs/python3.4/lib/python3.4/site-packages/pandas/tools/plotting.py in _handle_shared_axes(axarr, nplots, naxes, nrows, ncols, sharex, sharey)
   3378                 layout = np.zeros((nrows+1,ncols+1), dtype=np.bool)
   3379                 for ax in axarr:
-&gt; 3380                     layout[ax.rowNum, ax.colNum] = ax.get_visible()
   3381 
   3382                 for ax in axarr:

AttributeError: 'Axes' object has no attribute 'rowNum'
</code></pre></div>
<p dir="auto">When attempting to use the Pandas 0.17.0 plot method to target plotting on an external axes:  AttributeError: 'Axes' object has no attribute 'is_first_col'.</p>
<p dir="auto">Pandas: 0.17.0<br>
Numpy: 1.9.2<br>
Matplotlib: 1.5.0</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import pandas as pd
import numpy as np
from matplotlib import pyplot as plt

df = pd.DataFrame({'A' : ['foo', 'bar', 'foo', 'bar',
                          'foo', 'bar', 'foo', 'foo'],
                    'B' : ['one', 'one', 'two', 'three',
                          'two', 'two', 'one', 'three'],
                    'C' : np.random.randn(8),
                    'D' : np.random.randn(8)})

fig = plt.figure()
ax = fig.add_axes((0,0,1,1))

df.plot(kind='scatter', ax=ax, x='C', y='D', c=df.C, s=100, linewidth=0, colormap='hsv')
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
&lt;ipython-input-21-b38f872a3fc3&gt; in &lt;module&gt;()
----&gt; 1 df.plot(kind='scatter', ax=ax, x='C', y='D', c=df.C, s=100, linewidth=0)

D:\Python27\lib\site-packages\pandas\tools\plotting.pyc in __call__(self, x, y, kind, ax, subplots, sharex, sharey, layout, figsize, use_index, title, grid, legend, style, logx, logy, loglog, xticks, yticks, xlim, ylim, rot, fontsize, colormap, table, yerr, xerr, secondary_y, sort_columns, **kwds)
   3665                           fontsize=fontsize, colormap=colormap, table=table,
   3666                           yerr=yerr, xerr=xerr, secondary_y=secondary_y,
-&gt; 3667                           sort_columns=sort_columns, **kwds)
   3668     __call__.__doc__ = plot_frame.__doc__
   3669 

D:\Python27\lib\site-packages\pandas\tools\plotting.pyc in plot_frame(data, x, y, kind, ax, subplots, sharex, sharey, layout, figsize, use_index, title, grid, legend, style, logx, logy, loglog, xticks, yticks, xlim, ylim, rot, fontsize, colormap, table, yerr, xerr, secondary_y, sort_columns, **kwds)
   2550                  yerr=yerr, xerr=xerr,
   2551                  secondary_y=secondary_y, sort_columns=sort_columns,
-&gt; 2552                  **kwds)
   2553 
   2554 

D:\Python27\lib\site-packages\pandas\tools\plotting.pyc in _plot(data, x, y, subplots, ax, kind, **kwds)
   2378         plot_obj = klass(data, subplots=subplots, ax=ax, kind=kind, **kwds)
   2379 
-&gt; 2380     plot_obj.generate()
   2381     plot_obj.draw()
   2382     return plot_obj.result

D:\Python27\lib\site-packages\pandas\tools\plotting.pyc in generate(self)
    990             self._post_plot_logic_common(ax, self.data)
    991             self._post_plot_logic(ax, self.data)
--&gt; 992         self._adorn_subplots()
    993 
    994     def _args_adjust(self):

D:\Python27\lib\site-packages\pandas\tools\plotting.pyc in _adorn_subplots(self)
   1141                                 naxes=nrows * ncols, nrows=nrows,
   1142                                 ncols=ncols, sharex=self.sharex,
-&gt; 1143                                 sharey=self.sharey)
   1144 
   1145         for ax in self.axes:

D:\Python27\lib\site-packages\pandas\tools\plotting.pyc in _handle_shared_axes(axarr, nplots, naxes, nrows, ncols, sharex, sharey)
   3403                 # as we only have labels in teh first column and we always have a subplot there,
   3404                 # we can skip the layout test
-&gt; 3405                 if ax.is_first_col():
   3406                     continue
   3407                 if sharey or len(ax.get_shared_y_axes().get_siblings(ax)) &gt; 1:

AttributeError: 'Axes' object has no attribute 'is_first_col'"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span>
<span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-k">from</span> <span class="pl-s1">matplotlib</span> <span class="pl-k">import</span> <span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span>

<span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>({<span class="pl-s">'A'</span> : [<span class="pl-s">'foo'</span>, <span class="pl-s">'bar'</span>, <span class="pl-s">'foo'</span>, <span class="pl-s">'bar'</span>,
                          <span class="pl-s">'foo'</span>, <span class="pl-s">'bar'</span>, <span class="pl-s">'foo'</span>, <span class="pl-s">'foo'</span>],
                    <span class="pl-s">'B'</span> : [<span class="pl-s">'one'</span>, <span class="pl-s">'one'</span>, <span class="pl-s">'two'</span>, <span class="pl-s">'three'</span>,
                          <span class="pl-s">'two'</span>, <span class="pl-s">'two'</span>, <span class="pl-s">'one'</span>, <span class="pl-s">'three'</span>],
                    <span class="pl-s">'C'</span> : <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">randn</span>(<span class="pl-c1">8</span>),
                    <span class="pl-s">'D'</span> : <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">randn</span>(<span class="pl-c1">8</span>)})

<span class="pl-s1">fig</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">figure</span>()
<span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">fig</span>.<span class="pl-en">add_axes</span>((<span class="pl-c1">0</span>,<span class="pl-c1">0</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span>))

<span class="pl-s1">df</span>.<span class="pl-en">plot</span>(<span class="pl-s1">kind</span><span class="pl-c1">=</span><span class="pl-s">'scatter'</span>, <span class="pl-s1">ax</span><span class="pl-c1">=</span><span class="pl-s1">ax</span>, <span class="pl-s1">x</span><span class="pl-c1">=</span><span class="pl-s">'C'</span>, <span class="pl-s1">y</span><span class="pl-c1">=</span><span class="pl-s">'D'</span>, <span class="pl-s1">c</span><span class="pl-c1">=</span><span class="pl-s1">df</span>.<span class="pl-v">C</span>, <span class="pl-s1">s</span><span class="pl-c1">=</span><span class="pl-c1">100</span>, <span class="pl-s1">linewidth</span><span class="pl-c1">=</span><span class="pl-c1">0</span>, <span class="pl-s1">colormap</span><span class="pl-c1">=</span><span class="pl-s">'hsv'</span>)
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span>
<span class="pl-v">AttributeError</span>                            <span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>)
<span class="pl-c1">&lt;</span><span class="pl-s1">ipython</span><span class="pl-c1">-</span><span class="pl-s1">input</span><span class="pl-c1">-</span><span class="pl-c1">21</span><span class="pl-c1">-</span><span class="pl-s1">b38f872a3fc3</span><span class="pl-c1">&gt;</span> <span class="pl-s1">in</span> <span class="pl-c1">&lt;</span><span class="pl-s1">module</span><span class="pl-c1">&gt;</span>()
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">1</span> <span class="pl-s1">df</span>.<span class="pl-en">plot</span>(<span class="pl-s1">kind</span><span class="pl-c1">=</span><span class="pl-s">'scatter'</span>, <span class="pl-s1">ax</span><span class="pl-c1">=</span><span class="pl-s1">ax</span>, <span class="pl-s1">x</span><span class="pl-c1">=</span><span class="pl-s">'C'</span>, <span class="pl-s1">y</span><span class="pl-c1">=</span><span class="pl-s">'D'</span>, <span class="pl-s1">c</span><span class="pl-c1">=</span><span class="pl-s1">df</span>.<span class="pl-v">C</span>, <span class="pl-s1">s</span><span class="pl-c1">=</span><span class="pl-c1">100</span>, <span class="pl-s1">linewidth</span><span class="pl-c1">=</span><span class="pl-c1">0</span>)

<span class="pl-v">D</span>:\P<span class="pl-s1">ython27</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\p<span class="pl-s1">andas</span>\t<span class="pl-s1">ools</span>\p<span class="pl-s1">lotting</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">__call__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">x</span>, <span class="pl-s1">y</span>, <span class="pl-s1">kind</span>, <span class="pl-s1">ax</span>, <span class="pl-s1">subplots</span>, <span class="pl-s1">sharex</span>, <span class="pl-s1">sharey</span>, <span class="pl-s1">layout</span>, <span class="pl-s1">figsize</span>, <span class="pl-s1">use_index</span>, <span class="pl-s1">title</span>, <span class="pl-s1">grid</span>, <span class="pl-s1">legend</span>, <span class="pl-s1">style</span>, <span class="pl-s1">logx</span>, <span class="pl-s1">logy</span>, <span class="pl-s1">loglog</span>, <span class="pl-s1">xticks</span>, <span class="pl-s1">yticks</span>, <span class="pl-s1">xlim</span>, <span class="pl-s1">ylim</span>, <span class="pl-s1">rot</span>, <span class="pl-s1">fontsize</span>, <span class="pl-s1">colormap</span>, <span class="pl-s1">table</span>, <span class="pl-s1">yerr</span>, <span class="pl-s1">xerr</span>, <span class="pl-s1">secondary_y</span>, <span class="pl-s1">sort_columns</span>, <span class="pl-c1">**</span><span class="pl-s1">kwds</span>)
   <span class="pl-c1">3665</span>                           <span class="pl-s1">fontsize</span><span class="pl-c1">=</span><span class="pl-s1">fontsize</span>, <span class="pl-s1">colormap</span><span class="pl-c1">=</span><span class="pl-s1">colormap</span>, <span class="pl-s1">table</span><span class="pl-c1">=</span><span class="pl-s1">table</span>,
   <span class="pl-c1">3666</span>                           <span class="pl-s1">yerr</span><span class="pl-c1">=</span><span class="pl-s1">yerr</span>, <span class="pl-s1">xerr</span><span class="pl-c1">=</span><span class="pl-s1">xerr</span>, <span class="pl-s1">secondary_y</span><span class="pl-c1">=</span><span class="pl-s1">secondary_y</span>,
<span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">3667</span>                           <span class="pl-s1">sort_columns</span><span class="pl-c1">=</span><span class="pl-s1">sort_columns</span>, <span class="pl-c1">**</span><span class="pl-s1">kwds</span>)
   <span class="pl-c1">3668</span>     <span class="pl-s1">__call__</span>.<span class="pl-s1">__doc__</span> <span class="pl-c1">=</span> <span class="pl-s1">plot_frame</span>.<span class="pl-s1">__doc__</span>
   <span class="pl-c1">3669</span> 

<span class="pl-v">D</span>:\P<span class="pl-s1">ython27</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\p<span class="pl-s1">andas</span>\t<span class="pl-s1">ools</span>\p<span class="pl-s1">lotting</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">plot_frame</span>(<span class="pl-s1">data</span>, <span class="pl-s1">x</span>, <span class="pl-s1">y</span>, <span class="pl-s1">kind</span>, <span class="pl-s1">ax</span>, <span class="pl-s1">subplots</span>, <span class="pl-s1">sharex</span>, <span class="pl-s1">sharey</span>, <span class="pl-s1">layout</span>, <span class="pl-s1">figsize</span>, <span class="pl-s1">use_index</span>, <span class="pl-s1">title</span>, <span class="pl-s1">grid</span>, <span class="pl-s1">legend</span>, <span class="pl-s1">style</span>, <span class="pl-s1">logx</span>, <span class="pl-s1">logy</span>, <span class="pl-s1">loglog</span>, <span class="pl-s1">xticks</span>, <span class="pl-s1">yticks</span>, <span class="pl-s1">xlim</span>, <span class="pl-s1">ylim</span>, <span class="pl-s1">rot</span>, <span class="pl-s1">fontsize</span>, <span class="pl-s1">colormap</span>, <span class="pl-s1">table</span>, <span class="pl-s1">yerr</span>, <span class="pl-s1">xerr</span>, <span class="pl-s1">secondary_y</span>, <span class="pl-s1">sort_columns</span>, <span class="pl-c1">**</span><span class="pl-s1">kwds</span>)
   <span class="pl-c1">2550</span>                  <span class="pl-s1">yerr</span><span class="pl-c1">=</span><span class="pl-s1">yerr</span>, <span class="pl-s1">xerr</span><span class="pl-c1">=</span><span class="pl-s1">xerr</span>,
   <span class="pl-c1">2551</span>                  <span class="pl-s1">secondary_y</span><span class="pl-c1">=</span><span class="pl-s1">secondary_y</span>, <span class="pl-s1">sort_columns</span><span class="pl-c1">=</span><span class="pl-s1">sort_columns</span>,
<span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">2552</span>                  <span class="pl-c1">**</span><span class="pl-s1">kwds</span>)
   <span class="pl-c1">2553</span> 
   <span class="pl-c1">2554</span> 

<span class="pl-v">D</span>:\P<span class="pl-s1">ython27</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\p<span class="pl-s1">andas</span>\t<span class="pl-s1">ools</span>\p<span class="pl-s1">lotting</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">_plot</span>(<span class="pl-s1">data</span>, <span class="pl-s1">x</span>, <span class="pl-s1">y</span>, <span class="pl-s1">subplots</span>, <span class="pl-s1">ax</span>, <span class="pl-s1">kind</span>, <span class="pl-c1">**</span><span class="pl-s1">kwds</span>)
   <span class="pl-c1">2378</span>         <span class="pl-s1">plot_obj</span> <span class="pl-c1">=</span> <span class="pl-en">klass</span>(<span class="pl-s1">data</span>, <span class="pl-s1">subplots</span><span class="pl-c1">=</span><span class="pl-s1">subplots</span>, <span class="pl-s1">ax</span><span class="pl-c1">=</span><span class="pl-s1">ax</span>, <span class="pl-s1">kind</span><span class="pl-c1">=</span><span class="pl-s1">kind</span>, <span class="pl-c1">**</span><span class="pl-s1">kwds</span>)
   <span class="pl-c1">2379</span> 
<span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">2380</span>     <span class="pl-s1">plot_obj</span>.<span class="pl-en">generate</span>()
   <span class="pl-c1">2381</span>     <span class="pl-s1">plot_obj</span>.<span class="pl-en">draw</span>()
   <span class="pl-c1">2382</span>     <span class="pl-k">return</span> <span class="pl-s1">plot_obj</span>.<span class="pl-s1">result</span>

<span class="pl-v">D</span>:\P<span class="pl-s1">ython27</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\p<span class="pl-s1">andas</span>\t<span class="pl-s1">ools</span>\p<span class="pl-s1">lotting</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">generate</span>(<span class="pl-s1">self</span>)
    <span class="pl-c1">990</span>             <span class="pl-s1">self</span>.<span class="pl-en">_post_plot_logic_common</span>(<span class="pl-s1">ax</span>, <span class="pl-s1">self</span>.<span class="pl-s1">data</span>)
    <span class="pl-c1">991</span>             <span class="pl-s1">self</span>.<span class="pl-en">_post_plot_logic</span>(<span class="pl-s1">ax</span>, <span class="pl-s1">self</span>.<span class="pl-s1">data</span>)
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">992</span>         <span class="pl-s1">self</span>.<span class="pl-en">_adorn_subplots</span>()
    <span class="pl-c1">993</span> 
    <span class="pl-c1">994</span>     <span class="pl-k">def</span> <span class="pl-en">_args_adjust</span>(<span class="pl-s1">self</span>):

<span class="pl-v">D</span>:\P<span class="pl-s1">ython27</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\p<span class="pl-s1">andas</span>\t<span class="pl-s1">ools</span>\p<span class="pl-s1">lotting</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">_adorn_subplots</span>(<span class="pl-s1">self</span>)
   <span class="pl-c1">1141</span>                                 <span class="pl-s1">naxes</span><span class="pl-c1">=</span><span class="pl-s1">nrows</span> <span class="pl-c1">*</span> <span class="pl-s1">ncols</span>, <span class="pl-s1">nrows</span><span class="pl-c1">=</span><span class="pl-s1">nrows</span>,
   <span class="pl-c1">1142</span>                                 <span class="pl-s1">ncols</span><span class="pl-c1">=</span><span class="pl-s1">ncols</span>, <span class="pl-s1">sharex</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">sharex</span>,
<span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">1143</span>                                 <span class="pl-s1">sharey</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">sharey</span>)
   <span class="pl-c1">1144</span> 
   <span class="pl-c1">1145</span>         <span class="pl-k">for</span> <span class="pl-s1">ax</span> <span class="pl-c1">in</span> <span class="pl-s1">self</span>.<span class="pl-s1">axes</span>:

<span class="pl-v">D</span>:\P<span class="pl-s1">ython27</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\p<span class="pl-s1">andas</span>\t<span class="pl-s1">ools</span>\p<span class="pl-s1">lotting</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">_handle_shared_axes</span>(<span class="pl-s1">axarr</span>, <span class="pl-s1">nplots</span>, <span class="pl-s1">naxes</span>, <span class="pl-s1">nrows</span>, <span class="pl-s1">ncols</span>, <span class="pl-s1">sharex</span>, <span class="pl-s1">sharey</span>)
   <span class="pl-c1">3403</span>                 <span class="pl-c"># as we only have labels in teh first column and we always have a subplot there,</span>
   <span class="pl-c1">3404</span>                 <span class="pl-c"># we can skip the layout test</span>
<span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">3405</span>                 <span class="pl-k">if</span> <span class="pl-s1">ax</span>.<span class="pl-en">is_first_col</span>():
   <span class="pl-c1">3406</span>                     <span class="pl-s1">continue</span>
   <span class="pl-c1">3407</span>                 <span class="pl-k">if</span> <span class="pl-s1">sharey</span> <span class="pl-c1">or</span> <span class="pl-en">len</span>(<span class="pl-s1">ax</span>.<span class="pl-en">get_shared_y_axes</span>().<span class="pl-en">get_siblings</span>(<span class="pl-s1">ax</span>)) <span class="pl-c1">&gt;</span> <span class="pl-c1">1</span>:

<span class="pl-v">AttributeError</span>: <span class="pl-s">'Axes'</span> <span class="pl-s1">object</span> <span class="pl-s1">has</span> <span class="pl-s1">no</span> <span class="pl-s1">attribute</span> <span class="pl-s">'is_first_col'</span></pre></div>