[Matplotlib-users] where did my plots go?

2012-06-18 Thread Andre' Walker-Loud
Hi All, I have mac os x, 10.6.8, enthought distribution. I recently upgraded from the 6.2 to 7.3 EPD. Previously, I had a script which would manipulate some data, and as soon as the command plt.figure() was issued, the plot would show up. I could then continue along with the analysis (I

Re: [Matplotlib-users] suppress plotting window

2012-06-18 Thread Maximilian Fabricius
On Tue, Jun 12, 2012 at 6:40 PM, John Hunter jdh2...@gmail.com wrote: On Fri, Jun 8, 2012 at 3:36 AM, Maximilian Fabricius mfabric...@gmail.com wrote: it seems that whenever I plot something, a window opens. from matplotlib import pylab import numpy pylab.plot(numpy.random.normal(size=100))

[Matplotlib-users] See influence of code-change in realtime

2012-06-18 Thread mogliii
Hi, I have a question: Is there a way with matplotlib to see influence of code changes on the plot without explicitly recompiling? My workflow looks like this: I'm writing single files for plots in Eclipse with pydev. I normally copy/paste sections from previous figures. I don't want to do this

Re: [Matplotlib-users] See influence of code-change in realtime

2012-06-18 Thread julien tayon
Hi, I have a question: Is there a way with matplotlib to see influence of code changes on the plot without explicitly recompiling? Hello Using bpython is a nice trick to achieve this : Bootstrap in bpython : http://bpaste.net/show/31823/ once sastified either F8 to share, or Ctrl+S to save

[Matplotlib-users] Plotting against time

2012-06-18 Thread Clare Soh
Hi, I'm trying to plot some data against time using the following code: r = mlab.csv2rec(filename) self.axis.plot(r.time, r.jb_sizems) hfmt = dates.DateFormatter('%H:%M:%S.%f') self.axis.xaxis.set_major_formatter(hfmt)

[Matplotlib-users] matplotlib requires write perms and space in $HOME

2012-06-18 Thread Martin Mokrejs
Hi, I am running some script in /mnt/blah and while my $HOME disk on a different device filled up because of some other reason. But my script ran in /mnt/blah died as well while there is plenty of space. Here is the stacktrace. import matplotlib File

Re: [Matplotlib-users] matplotlib requires write perms and space in $HOME

2012-06-18 Thread John Hunter
On Jun 18, 2012, at 6:19 AM, Martin Mokrejs mmokr...@fold.natur.cuni.cz wrote: Hi, I am running some script in /mnt/blah and while my $HOME disk on a different device filled up because of some other reason. But my script ran in /mnt/blah died as well while there is plenty of space.

Re: [Matplotlib-users] matplotlib requires write perms and space in $HOME

2012-06-18 Thread Martin Mokrejs
John Hunter wrote: On Jun 18, 2012, at 6:19 AM, Martin Mokrejs mmokr...@fold.natur.cuni.cz wrote: Hi, I am running some script in /mnt/blah and while my $HOME disk on a different device filled up because of some other reason. But my script ran in /mnt/blah died as well while

Re: [Matplotlib-users] matplotlib requires write perms and space in $HOME

2012-06-18 Thread John Hunter
On Mon, Jun 18, 2012 at 7:29 AM, Martin Mokrejs mmokr...@fold.natur.cuni.cz wrote: Hmm. Could it be by default the current working directory instead? Or, try/else added to the code which would try to write into cwd if $HOME (aka $MPLCONFIGDIR) returns an error? The stuff we store there is

Re: [Matplotlib-users] matplotlib requires write perms and space in $HOME

2012-06-18 Thread Benjamin Root
On Mon, Jun 18, 2012 at 8:41 AM, John Hunter jdh2...@gmail.com wrote: On Mon, Jun 18, 2012 at 7:29 AM, Martin Mokrejs mmokr...@fold.natur.cuni.cz wrote: Hmm. Could it be by default the current working directory instead? Or, try/else added to the code which would try to write into cwd if

Re: [Matplotlib-users] matplotlib requires write perms and space in $HOME

2012-06-18 Thread John Hunter
On Mon, Jun 18, 2012 at 7:50 AM, Benjamin Root ben.r...@ou.edu wrote: However, should it be a full-out error?  Is it possible to have mpl run without a font cache? I'm sure we could, but from an implementation perspective it would probably be easier to spoof it with a virtual filesystem and

Re: [Matplotlib-users] where did my plots go?

2012-06-18 Thread Benjamin Root
On Mon, Jun 18, 2012 at 2:36 AM, Andre' Walker-Loud walksl...@gmail.comwrote: Hi All, I have mac os x, 10.6.8, enthought distribution. I recently upgraded from the 6.2 to 7.3 EPD. Previously, I had a script which would manipulate some data, and as soon as the command plt.figure() was

Re: [Matplotlib-users] suppress plotting window

2012-06-18 Thread Benjamin Root
On Mon, Jun 18, 2012 at 3:36 AM, Maximilian Fabricius mfabric...@gmail.comwrote: On Tue, Jun 12, 2012 at 6:40 PM, John Hunter jdh2...@gmail.com wrote: On Fri, Jun 8, 2012 at 3:36 AM, Maximilian Fabricius mfabric...@gmail.com wrote: it seems that whenever I plot something, a window opens.

Re: [Matplotlib-users] Plotting against time

2012-06-18 Thread Benjamin Root
On Mon, Jun 18, 2012 at 6:42 AM, Clare Soh clare07112...@gmail.com wrote: Hi, I'm trying to plot some data against time using the following code: r = mlab.csv2rec(filename) self.axis.plot(r.time, r.jb_sizems) hfmt = dates.DateFormatter('%H:%M:%S.%f')

Re: [Matplotlib-users] Newbie-question: spines with arrows

2012-06-18 Thread Asbach, Mark
Hi Joe, hi Daniel, Am 17.06.2012 um 19:31 schrieb Joe Kington: It sounds like you were using the right approach, you just got a bit lost on what some of the keyword parameters to annotate, etc do. Here's an example that should do what you want: import matplotlib.pyplot as plt from

Re: [Matplotlib-users] where did my plots go?

2012-06-18 Thread Andre' Walker-Loud
Most likely, there was a change to your matplotlibrc file. There is a setting in there for interactive and by default, it is set to False. If you uncomment it and set it to True, you should get back the behavior you expected. You can also explicitly set the interactive mode to True from

Re: [Matplotlib-users] What is your matplotlib workflow?

2012-06-18 Thread Brendan Barnwell
On 2012-06-09 15:18, pybokeh wrote: Maybe workflow may not be the appropriate term. Essentially, when I want to plot something using matplotlib, I find myself having to look up the api docs or examples online because quite frankly, matplotlib's syntax is very hard to remember. I use

[Matplotlib-users] Typing \H{o} in LaTeX

2012-06-18 Thread Daπid
Hello, I am trying to type Erdős in the title of a figure. I am using the LaTeX command Erd\H{o}s, as it works in normal latex documents both in text and math mode, but it malfunctioning putting the two lines on the d. To obtain the proper typeset, I have to write: plt.title(r$Erdo\H s$) This

Re: [Matplotlib-users] Plotting against time

2012-06-18 Thread Clare Soh
Hi Ben, I tried including the date info into my data files as you suggested and it works! Thank you very much for help. Regards, Clare. On Mon, Jun 18, 2012 at 9:10 PM, Benjamin Root ben.r...@ou.edu wrote: On Mon, Jun 18, 2012 at 6:42 AM, Clare Soh clare07112...@gmail.comwrote: Hi, I'm

[Matplotlib-users] another mac os matplotlib question

2012-06-18 Thread Andre' Walker-Loud
Hi All, A few more issues have come up for me with matplotlib in an EPD upgrade. mac os X 10.6.8, EPD 7.3 (python 2.7, matplotlib 1.1.0) 1) After my code generates a plot (at the moment, not sure if it is a specific plot or all plots), it gives me a long list of the repeated error