[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 Python[1044

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 wrote: > > > On Mon, Jun 18, 2012 at 6:42 AM, Clare Soh wrote: > >> Hi, >> >> I'm trying to plot some data aga

[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] 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 us

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

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 > fro

Re: [Matplotlib-users] Plotting against time

2012-06-18 Thread Benjamin Root
On Mon, Jun 18, 2012 at 6:42 AM, Clare Soh 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') > self.a

Re: [Matplotlib-users] suppress plotting window

2012-06-18 Thread Benjamin Root
On Mon, Jun 18, 2012 at 3:36 AM, Maximilian Fabricius wrote: > On Tue, Jun 12, 2012 at 6:40 PM, John Hunter wrote: > > On Fri, Jun 8, 2012 at 3:36 AM, Maximilian Fabricius > > wrote: > >> it seems that whenever I plot something, a window opens. > >> > >> from matplotlib import pylab > >> import

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 wrote: > 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,

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 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 files using strin

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 wrote: > On Mon, Jun 18, 2012 at 7:29 AM, Martin Mokrejs > 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

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 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 meant to be persistent b

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 > 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 p

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 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. Here is the stacktrace.

[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 "/usr/lib64/python2.7/site-packages/m

[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) self.axis.set_titl

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

[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 i

Re: [Matplotlib-users] suppress plotting window

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