That reminds me - if I select the GTK backend in matplotlibrc, I can replicate the blocking behaviour in trunk as well, with:<br><br>x = randn(1000)<br>hist(x)   # No window appears<br>show()   # Blocks even after closing the window<br>

<br>Is this some quirk of my setup, or can anyone else replicate that? This is matplotlib 0.99.3.<br><br>Thomas<br><br><div class="gmail_quote">On 25 May 2011 14:53, Vincent Favre-Nicolin <span dir="ltr"><<a href="mailto:vincefn@users.sourceforge.net">vincefn@users.sourceforge.net</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Apologies for cross-posting - if you are not using ubuntu, don't read ahead.<br>
<br>
  If you are using ipython combined with '-wthread' (for mayavi's mlab) or<br>
'-pylab' (for matplotlib), there is currently a bug in Ubunty 11.04 (natty)<br>
with ipython 0.10.1, which prevents the correct thread handling:<br>
  e.g. with mayavi's mlab, it is necessary to use 'show()' to interact with<br>
the window, which is not very practical (and is blocking). And for '-pylab',<br>
the GTK and wx (Aggg) backend do not work...<br>
<br>
  The bug is known and already corrected in ipython 0.10.2:<br>
<a href="https://github.com/ipython/ipython/issues/185" target="_blank">https://github.com/ipython/ipython/issues/185</a><br>
<br>
  So the remaining issue is to get the new version as an update in ubuntu<br>
11.04/natty !<br>
=> this is why I'm writing this email, so that other people concerned can vote<br>
for the bug and, if maintainers read this, if they can push this as stable-<br>
release-update (SRU)...<br>
<br>
  The bug to vote for is @:<br>
<a href="https://bugs.launchpad.net/bugs/777420" target="_blank">https://bugs.launchpad.net/bugs/777420</a><br>
<br>
  Incidentally, it is easy to install ipython 0.10.2 'manually', as it is<br>
already available for ubuntu oneiric (11.10):<br>
<br>
wget <a href="http://launchpadlibrarian.net/70857487/ipython_0.10.2-1_all.deb" target="_blank">http://launchpadlibrarian.net/70857487/ipython_0.10.2-1_all.deb</a><br>
sudo dpkg -i ipython_0.10.2-1_all.deb<br>
<br>
<br>
                Vincent<br>
--<br>
Vincent Favre-Nicolin<br>
<br>
CEA / INAC                              <a href="http://inac.cea.fr" target="_blank">http://inac.cea.fr</a><br>
Université Joseph Fourier        <a href="http://www.ujf-grenoble.fr" target="_blank">http://www.ujf-grenoble.fr</a><br>
<br>
<a href="http://vincefn.net" target="_blank">http://vincefn.net</a><br>
ObjCryst & Fox : <a href="http://objcryst.sourceforge.net" target="_blank">http://objcryst.sourceforge.net</a><br>
_______________________________________________<br>
IPython-User mailing list<br>
<a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
</blockquote></div><br>