[matplotlib-devel] wx.AlphaPixelData() is failing on windows server 2003

2010-03-10 Thread MOhanKumar
wx.AlphaPixelData() is failing on windows server 2003. The sample code is given below. The same is working fine on windows xp. what could be the reason? import wx class Size(wx.Frame): def __init__(self, parent, id, title): wx.Frame.__init__(self, parent, id, title, size=(250, 200))

Re: [matplotlib-devel] wx.AlphaPixelData() is failing on windows server 2003

2010-03-10 Thread Michael Droettboom
Is this bug related to matplotlib? (i.e. does it happen only when matplotlib is imported?) If not, you may have more luck on the wxpython mailing list. Mike MOhanKumar wrote: > wx.AlphaPixelData() is failing on windows server 2003. The sample code is > given below. > The same is working fine

Re: [matplotlib-devel] wx.AlphaPixelData() is failing on windows server 2003

2010-03-10 Thread Chris Barker
Michael Droettboom wrote: > Is this bug related to matplotlib? (i.e. does it happen only when > matplotlib is imported?) It looks like you've done a pure-wx test, so it is a wx issue. > If not, you may have more luck on the wxpython > mailing list. yup, that's the place for it -- I suspect t

[matplotlib-devel] Inconsistent behavior in plt.hist

2010-03-10 Thread Tony S Yu
I get inconsistent behavior when plotting multiple sets of data with plt.hist. Here's a quick example: >>> import numpy as np >>> import matplotlib.pyplot as plt >>> x = np.random.randn(10) >>> y = np.random.randn(9) >>> plt.hist([x, y]) The above code plots two sets of histograms, as expected.