Re: [matplotlib-devel] patch: step function plotting

2007-08-14 Thread Eric Firing
Ted Drain wrote: Manuel, We do plots like this all the time. One thing we've found that's nice to have is a keyword that controls when the increase in y happens. We use a step style keyword that can be 'pre' (go up then right), 'post' (go right then up), and 'mid' (right 0.5, up, right

Re: [matplotlib-devel] patch: step function plotting

2007-08-14 Thread Ted Drain
At 10:36 AM 8/14/2007, Eric Firing wrote: Ted Drain wrote: Manuel, We do plots like this all the time. One thing we've found that's nice to have is a keyword that controls when the increase in y happens. We use a step style keyword that can be 'pre' (go up then right), 'post' (go right

Re: [matplotlib-devel] Font installation stuff

2007-08-14 Thread Rob Hetland
Done and committed. It seems a recent commit has severely broken my font loading. When I start MPL now, I get an infinite stream of messages similar to: Found an unknown keyword in AFM header (was ) Found an unknown keyword in AFM header (was !% ##2*3*9*:*[EMAIL PROTECTED]@;;C#C)*=AB879(')

Re: [matplotlib-devel] Font installation stuff

2007-08-14 Thread Michael Droettboom
Hmm... I'm not readily able to reproduce this here. What are you setting in matplotlibrc (or in your plot?) Also, if you delete the font cache (which is now ~/.matplotlib/fontManager.cache), does that help? (Might be a useful data point -- not suggesting it as a solution.) Cheers, Mike Rob

Re: [matplotlib-devel] Font installation stuff

2007-08-14 Thread Rob Hetland
What are you setting in matplotlibrc (or in your plot?) Also, if you delete the font cache (which is now ~/.matplotlib/fontManager.cache), does that help? (Might be a useful data point -- not suggesting it as a solution.) Well, I've been trying out the Arev fonts, as you know, so I changed

Re: [matplotlib-devel] Font installation stuff

2007-08-14 Thread Eric Firing
Mike, Rob, One of the changes I made was to cause the afmdict to be generated automatically at the start rather than on demand. The problem you are having seems related to afm fonts, so I suspect this is it. What is your rcParams['pdf.use14corefonts'] setting? Please try reversing it, and

Re: [matplotlib-devel] Font installation stuff

2007-08-14 Thread Eric Firing
Rob, Mike, What this implies to me is that either there is a problem with the code that is generating afmdict (and I did not change that code, I just caused it to be invoked when the fontManager instance is created.), or there is a problem with some .afm files on Rob's machine. I really don't

[matplotlib-devel] Cannot set nonpositive limits with log transform

2007-08-14 Thread Darren Dale
mpl hates my guts today. I'm developing an application for work and need to plot some spectra on a logscale. I can recreate my problem with embedding_in_qt4, by replacing MyDynamicMplCanvas.compute_initial_figure with this: def compute_initial_figure(self): self.axes.plot([0, 1,