<p dir="auto">I tried running the test suite for 1.5.1 on numpy 1.11 beta 2 and I am seeing a single failure that we should investigate.</p>
<p dir="auto">Python 3.5 OSX</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="======================================================================
FAIL: matplotlib.tests.test_ticker.test_AutoMinorLocator
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/Users/jhn/Envs/numpy111betamatplotlib151/lib/python3.5/site-packages/nose/case.py&quot;, line 198, in runTest
    self.test(*self.arg)
  File &quot;/Users/jhn/Envs/numpy111betamatplotlib151/lib/python3.5/site-packages/matplotlib/testing/decorators.py&quot;, line 118, in wrapped_function
    func(*args, **kwargs)
  File &quot;/Users/jhn/Envs/numpy111betamatplotlib151/lib/python3.5/site-packages/matplotlib/tests/test_ticker.py&quot;, line 50, in test_AutoMinorLocator
    assert_almost_equal(ax.xaxis.get_ticklocs(minor=True), test_value)
  File &quot;/Users/jhn/Envs/numpy111betamatplotlib151/lib/python3.5/site-packages/numpy/testing/utils.py&quot;, line 517, in assert_almost_equal
    return assert_array_almost_equal(actual, desired, decimal, err_msg)
  File &quot;/Users/jhn/Envs/numpy111betamatplotlib151/lib/python3.5/site-packages/numpy/testing/utils.py&quot;, line 912, in assert_array_almost_equal
    precision=decimal)
  File &quot;/Users/jhn/Envs/numpy111betamatplotlib151/lib/python3.5/site-packages/numpy/testing/utils.py&quot;, line 688, in assert_array_compare
    raise AssertionError(msg)
AssertionError:
Arrays are not almost equal to 7 decimals

(shapes (21,), (22,) mismatch)
 x: array([ 0.05,  0.1 ,  0.15,  0.25,  0.3 ,  0.35,  0.45,  0.5 ,  0.55,
        0.65,  0.7 ,  0.75,  0.85,  0.9 ,  0.95,  1.05,  1.1 ,  1.15,
        1.25,  1.3 ,  1.35])
 y: array([ 0.05,  0.1 ,  0.15,  0.25,  0.3 ,  0.35,  0.45,  0.5 ,  0.55,
        0.65,  0.7 ,  0.75,  0.85,  0.9 ,  0.95,  1.  ,  1.05,  1.1 ,
        1.15,  1.25,  1.3 ,  1.35])

----------------------------------------------------------------------"><pre class="notranslate"><code class="notranslate">======================================================================
FAIL: matplotlib.tests.test_ticker.test_AutoMinorLocator
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jhn/Envs/numpy111betamatplotlib151/lib/python3.5/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/Users/jhn/Envs/numpy111betamatplotlib151/lib/python3.5/site-packages/matplotlib/testing/decorators.py", line 118, in wrapped_function
    func(*args, **kwargs)
  File "/Users/jhn/Envs/numpy111betamatplotlib151/lib/python3.5/site-packages/matplotlib/tests/test_ticker.py", line 50, in test_AutoMinorLocator
    assert_almost_equal(ax.xaxis.get_ticklocs(minor=True), test_value)
  File "/Users/jhn/Envs/numpy111betamatplotlib151/lib/python3.5/site-packages/numpy/testing/utils.py", line 517, in assert_almost_equal
    return assert_array_almost_equal(actual, desired, decimal, err_msg)
  File "/Users/jhn/Envs/numpy111betamatplotlib151/lib/python3.5/site-packages/numpy/testing/utils.py", line 912, in assert_array_almost_equal
    precision=decimal)
  File "/Users/jhn/Envs/numpy111betamatplotlib151/lib/python3.5/site-packages/numpy/testing/utils.py", line 688, in assert_array_compare
    raise AssertionError(msg)
AssertionError:
Arrays are not almost equal to 7 decimals

(shapes (21,), (22,) mismatch)
 x: array([ 0.05,  0.1 ,  0.15,  0.25,  0.3 ,  0.35,  0.45,  0.5 ,  0.55,
        0.65,  0.7 ,  0.75,  0.85,  0.9 ,  0.95,  1.05,  1.1 ,  1.15,
        1.25,  1.3 ,  1.35])
 y: array([ 0.05,  0.1 ,  0.15,  0.25,  0.3 ,  0.35,  0.45,  0.5 ,  0.55,
        0.65,  0.7 ,  0.75,  0.85,  0.9 ,  0.95,  1.  ,  1.05,  1.1 ,
        1.15,  1.25,  1.3 ,  1.35])

----------------------------------------------------------------------
</code></pre></div>
<p dir="auto"><code class="notranslate">draw_artist()</code> raises an <code class="notranslate">AttributeError</code> error complaining a <code class="notranslate">draw()</code> call was not previously performed even though a <code class="notranslate">draw()</code> call was already done.</p>
<p dir="auto">This happens using the <code class="notranslate">GTK3Agg</code> backend.</p>
<p dir="auto">A minimum (not working) code example <em>(inspired by <a href="http://scipy-cookbook.readthedocs.io/items/Matplotlib_Animations.html" rel="nofollow">scipy-cookbook</a>)</em></p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#!/usr/bin/python3
import matplotlib
matplotlib.use('GTK3Agg')
import pylab as p
import numpy as np

ax = p.subplot(111)
canvas = ax.figure.canvas
x = np.linspace(0, 2*np.pi, 500)
line, = p.plot(x, np.sin(x), animated=True)
canvas.draw()
background = canvas.copy_from_bbox(ax.bbox)

# Update
canvas.restore_region(background)
line.set_ydata(np.sin(x+1))
ax.draw_artist(line)
canvas.blit(ax.bbox)

p.show()  "><pre class="notranslate"><span class="pl-c">#!/usr/bin/python3</span>
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>
<span class="pl-s1">matplotlib</span>.<span class="pl-en">use</span>(<span class="pl-s">'GTK3Agg'</span>)
<span class="pl-k">import</span> <span class="pl-s1">pylab</span> <span class="pl-k">as</span> <span class="pl-s1">p</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-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">p</span>.<span class="pl-en">subplot</span>(<span class="pl-c1">111</span>)
<span class="pl-s1">canvas</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>.<span class="pl-s1">figure</span>.<span class="pl-s1">canvas</span>
<span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">linspace</span>(<span class="pl-c1">0</span>, <span class="pl-c1">2</span><span class="pl-c1">*</span><span class="pl-s1">np</span>.<span class="pl-s1">pi</span>, <span class="pl-c1">500</span>)
<span class="pl-s1">line</span>, <span class="pl-c1">=</span> <span class="pl-s1">p</span>.<span class="pl-en">plot</span>(<span class="pl-s1">x</span>, <span class="pl-s1">np</span>.<span class="pl-en">sin</span>(<span class="pl-s1">x</span>), <span class="pl-s1">animated</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)
<span class="pl-s1">canvas</span>.<span class="pl-en">draw</span>()
<span class="pl-s1">background</span> <span class="pl-c1">=</span> <span class="pl-s1">canvas</span>.<span class="pl-en">copy_from_bbox</span>(<span class="pl-s1">ax</span>.<span class="pl-s1">bbox</span>)

<span class="pl-c"># Update</span>
<span class="pl-s1">canvas</span>.<span class="pl-en">restore_region</span>(<span class="pl-s1">background</span>)
<span class="pl-s1">line</span>.<span class="pl-en">set_ydata</span>(<span class="pl-s1">np</span>.<span class="pl-en">sin</span>(<span class="pl-s1">x</span><span class="pl-c1">+</span><span class="pl-c1">1</span>))
<span class="pl-s1">ax</span>.<span class="pl-en">draw_artist</span>(<span class="pl-s1">line</span>)
<span class="pl-s1">canvas</span>.<span class="pl-en">blit</span>(<span class="pl-s1">ax</span>.<span class="pl-s1">bbox</span>)

<span class="pl-s1">p</span>.<span class="pl-en">show</span>()  </pre></div>
<p dir="auto"><em>(Tested on python 3.5.2 - matplotlib 1.5.3 installed through pip on Ubuntu 16.04)</em></p>