Whilst trying to plot a scatter plot with no facecolor I was able to reliably
reproduce a segfault in mpl 0.91.2 - see below:

Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]
IPython 0.8.3.svn.r3001 -- An enhanced Interactive Python.

In [1]: import matplotlib
In [2]: matplotlib.__version__
Out[2]: '0.91.2'
In [3]: from pylab import scatter, rand
In [4]: scatter(rand(100),rand(100),c='')
<--SegFault-->

That's probably not the right way to do it but it does work in 0.98.0.
I'm unable to test on 0.91.3 at the moment.

NB: The work-around (correct way?) to get the same result in 0.91.2 is:

scatter(rand(100),rand(100),c='w',alpha=0)


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to