Hi Chris,

This just came up I think a day or so ago. Are you using TkAgg as  
your backend, and are you closing the plot window in between the two  
histograms?

Try updating from svn, Andrew just fixed a bug.

David

On 14-Jul-07, at 2:05 PM, Chris Fonnesbeck wrote:

> I get a repeatable bus error when trying to plot more than
> one histogram of simulated data. The first plot is generated
> without error, but invariably a second plot crashes:
>
> In [4]: x = random.negative_binomial(2, 0.25, 1000)
>
> In [5]: from pylab import *
>
> In [6]: hist(x)
> Out[6]:
> (array([240, 318, 206, 102,  65,  38,  17,   5,   6,   3]),
>  array([  0.,   3.,   6.,   9.,  12.,  15.,  18.,  21.,  24.,  27.]),
>  <a list of 10 Patch objects>)
>
> In [7]: show()
>
> In [8]: x = random.negative_binomial(2, 0.5, 1000)
>
> In [9]: hist(x)
> Bus error
>
> This is using recent svn builds of numpy and maplotlib.
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to