<h3 dir="auto">Bug report</h3>
<p dir="auto">the program .py written in spyder3.3.3 can't run in spyder3.3.6. It seems that the command axes[].plot() from matplotlib has sth wrong in spyder3.3.6. The alarm messenge is : tuple index out of range<br>
I report the probelm to the admin of spyder. He reply me that it is the problem in matplotlib not in spyder, and I should update my code.<br>
What can I do about updating my code? my matplotlib in anaconda is 3.1.0<br>
<strong>Bug summary</strong><br>
It seems that the command axes[].plot() from matplotlib has sth wrong in spyder3.3.6. The alarm messenge is : tuple index out of range</p>

<p dir="auto"><strong>Code for reproduction</strong></p>

<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Paste your code here
#
#
for i in range(n):
    irf_data = pd.DataFrame(
            [irf_1[:,i], irf_2[:,i], irf_3[:,i]]).T
    irf_data.columns = ['point', 'up', 'lower']
    
    axes[i//2, i % 2].plot(irf_data.index, irf_data.1,
                           color = 'blue', linestyle = '-')"><pre class="notranslate"><span class="pl-c"># Paste your code here</span>
<span class="pl-c">#</span>
<span class="pl-c">#</span>
<span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-s1">n</span>):
    <span class="pl-s1">irf_data</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(
            [<span class="pl-s1">irf_1</span>[:,<span class="pl-s1">i</span>], <span class="pl-s1">irf_2</span>[:,<span class="pl-s1">i</span>], <span class="pl-s1">irf_3</span>[:,<span class="pl-s1">i</span>]]).<span class="pl-v">T</span>
    <span class="pl-s1">irf_data</span>.<span class="pl-s1">columns</span> <span class="pl-c1">=</span> [<span class="pl-s">'point'</span>, <span class="pl-s">'up'</span>, <span class="pl-s">'lower'</span>]
    
    <span class="pl-s1">axes</span>[<span class="pl-s1">i</span><span class="pl-c1">//</span><span class="pl-c1">2</span>, <span class="pl-s1">i</span> <span class="pl-c1">%</span> <span class="pl-c1">2</span>].<span class="pl-en">plot</span>(<span class="pl-s1">irf_data</span>.<span class="pl-s1">index</span>, <span class="pl-s1">irf_data</span>.<span class="pl-c1">1</span>,
                           <span class="pl-s1">color</span> <span class="pl-c1">=</span> <span class="pl-s">'blue'</span>, <span class="pl-s1">linestyle</span> <span class="pl-c1">=</span> <span class="pl-s">'-'</span>)</pre></div>
<p dir="auto"><strong>Actual outcome</strong><br>
tuple index out of range</p>

<p dir="auto"><strong>Expected outcome</strong></p>


<p dir="auto"><strong>Matplotlib version</strong></p>

<ul dir="auto">
<li>Operating system:</li>
<li>Matplotlib version:</li>
<li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>):</li>
<li>Python version:</li>
<li>Jupyter version (if applicable):</li>
<li>Other libraries:</li>
</ul>
<h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong></p>

<p dir="auto">I have reported the issue in details <a href="https://stackoverflow.com/questions/57372557/matplotlib-drops-indexerror-tuple-index-out-of-range-after-upgrade" rel="nofollow">here</a><br>
basically after an upgrade to <code class="notranslate">3.1.1</code> it drops the error:</p>
<blockquote>
<p dir="auto">IndexError: tuple index out of range</p>
</blockquote>
<p dir="auto">all other details inclduing the CSV file and code are in the above link.</p>