[Matplotlib-users] pylab mode with PySide 1.10 segfaults on Linux

2012-03-24 Thread Wes McKinney
Has anyone had much luck with PySide + matplotlib 1.1.0+? With stock EPD 7.2 full on Ubuntu 10.04 which comes with PySide 1.1.0, a simple plot like plot(arange(10)) with IPython in pylab mode causes a segfault. Joy. Thanks, Wes

[Matplotlib-users] Unit testing code that generate matplotlib plots

2011-11-02 Thread Wes McKinney
Hi guys, Is there a common practice for unit testing code that creates matplotlib plots? I'm mainly just interested in code coverage versus correctness (making sure the code *works*) for now. I guess one way would be to disable the GUI backend so GUI elements don't get created (if the user is

Re: [Matplotlib-users] Unit testing code that generate matplotlib plots

2011-11-02 Thread Wes McKinney
On Wed, Nov 2, 2011 at 5:20 PM, John Hunter jdh2...@gmail.com wrote: On Wed, Nov 2, 2011 at 4:16 PM, Wes McKinney wesmck...@gmail.com wrote: Hi guys, Is there a common practice for unit testing code that creates matplotlib plots? I'm mainly just interested in code coverage versus correctness

Re: [Matplotlib-users] Unit testing code that generate matplotlib plots

2011-11-02 Thread Wes McKinney
On Wed, Nov 2, 2011 at 5:43 PM, Wes McKinney wesmck...@gmail.com wrote: On Wed, Nov 2, 2011 at 5:20 PM, John Hunter jdh2...@gmail.com wrote: On Wed, Nov 2, 2011 at 4:16 PM, Wes McKinney wesmck...@gmail.com wrote: Hi guys, Is there a common practice for unit testing code that creates

Re: [Matplotlib-users] use $1 for name of file plt.savefig

2011-04-28 Thread Wes McKinney
On Thu, Apr 28, 2011 at 12:55 PM, Pau vim.u...@googlemail.com wrote: Hi, I am trying to use recursively a matplotlib script to create 650 plots. For this, I have defined cluster = loadtxt(sys.argv[1]) MBH     = loadtxt ('./TrajectoryMBH.asc') X_cl = cluster[:, 2]  # Column 3 Y_cl =

Re: [Matplotlib-users] use $1 for name of file plt.savefig

2011-04-28 Thread Wes McKinney
On Thu, Apr 28, 2011 at 1:01 PM, Wes McKinney wesmck...@gmail.com wrote: On Thu, Apr 28, 2011 at 12:55 PM, Pau vim.u...@googlemail.com wrote: Hi, I am trying to use recursively a matplotlib script to create 650 plots. For this, I have defined cluster = loadtxt(sys.argv[1]) MBH

[Matplotlib-users] TkAgg backend error message running within IPython

2010-10-01 Thread Wes McKinney
I'm getting the error: can't invoke event command: application has been destroyed while executing event generate $w ThemeChanged (procedure ttk::ThemeChanged line 6) invoked from within ttk::ThemeChanged With the latest matplotlib 1.0.0 on 64-bit Ubuntu 10.04 running the following