[Matplotlib-users] Running matplotlib within a Cocoa application

2013-02-01 Thread Matthew D Blackledge
Dear all Has anyone attempted to use matplotlib within a mac (cocoa) application before (e.g. using PyRun_SimpleFile or PyRun_SimpleString)? I can successfully get get a plot to appear in a new window but when closing this window the entire application quits without any error. Looking at the s

Re: [Matplotlib-users] Running matplotlib job with cron

2009-06-25 Thread jules hummon
Paul Eric's attachment was missing. This is the crontab we use, which he described: - we use bash - the file config/bash_env has most of what is usually in .bashrc; for cron we source it, for shell we source it in .bashrc - "daily.py --use_defaults" is the command that we want to run - do

Re: [Matplotlib-users] Running matplotlib job with cron

2009-06-25 Thread Eric Firing
Paul Simon wrote: I've written my first python script with matplotlib, which works fine at the command line but not with cron. It's quite puzzling to me, and probably involves some path declaration that I don't know about. #plot data from automate.csv import matplotlib Right here you shoul

Re: [Matplotlib-users] Running matplotlib job with cron

2009-06-25 Thread Paul Simon
a more detailed way I can debug to find out where the failure is? Paul - Original Message - From: "Sandro Tosi" To: "Paul Simon" Cc: Sent: Thursday, June 25, 2009 12:00 PM Subject: Re: [Matplotlib-users] Running matplotlib job with cron > Hello Paul, > &g

Re: [Matplotlib-users] Running matplotlib job with cron

2009-06-25 Thread Sandro Tosi
Hello Paul, On Thu, Jun 25, 2009 at 19:13, Paul Simon wrote: > I've written my first python script with matplotlib, which works fine at the > command line but not with cron.  It's quite puzzling to me, and probably > involves some path declaration that I don't know about. I may have read the mail

[Matplotlib-users] Running matplotlib job with cron

2009-06-25 Thread Paul Simon
I've written my first python script with matplotlib, which works fine at the command line but not with cron. It's quite puzzling to me, and probably involves some path declaration that I don't know about. #plot data from automate.csv import matplotlib import datetime import numpy from matplotli

[Matplotlib-users] Running matplotlib from an interactive python shell with wxPython

2009-03-02 Thread Wai Yip Tung
I was trying to setup matplotlib to use interactively with wxPython as the backend. I run into the issue that when I call draw(), it blocks the interpreter. Since then I've found out it is a issue with some GUI backend that the mainloop blocks. The suggested solution is to use ipython, which

Re: [Matplotlib-users] Running matplotlib

2009-01-27 Thread Peter Bloomfield
> The problem I have is then when I issue the following > > >>> from pylab import * > > Traceback (most recent call last): > File "", line 1, in > File "/usr/local/lib/python2.6/site-packages/pylab.py", line 1, in > File "/usr/local/lib/python2.6/site-packages/matplotlib/pylab.py", > line 206

[Matplotlib-users] Running matplotlib

2009-01-27 Thread Peter Bloomfield
Dear All, I apologise if this is naive, but I am having problems with matplotlib. I downloaded it as a tar ball from SourceForge and it all compiled and installed without any error. I have the following setup. Download source SourceForge - matplotlib-0.98.5.2.tar.gz OS OpenSUSE

[Matplotlib-users] Running matplotlib as a separate thread

2008-07-10 Thread dragan savic
Hi everybody! I am new to matplotlib and I have a question. I am running matplotlib from a main program in python as a separate thread. When I first launch matplotlib it works fine. On my second try when the main program is still running I try to execute it again but the plotting window is show