Re: [Matplotlib-users] creating an object oriented matplotlib figure

2013-01-17 Thread Kelson Zawack
So I looked into it and the reason calling the show method for a Figure/FigureManager causes the figure to be visible only for an instant is that, at least in the case for tkagg, there is no call to a function that blocks until the figure window is closed and as a result the figure is

[Matplotlib-users] Matplotlib lag on windows seven

2013-01-17 Thread Fabien Lafont
Hello everyone, I've just changed my computer from a old core 2 duo on windows Xp to a intel Xeon with 12 Gb Ram. I've installed matplotlib but I plot a graph it's about 10 times slower than windows Xp to pan the axis or move the graph. Even if I'm plotting something very simple like that: from

Re: [Matplotlib-users] Matplotlib lag on windows seven

2013-01-17 Thread Michael Droettboom
Which backends are you using on each platform. A difference there is the most likely culprit. Mike On 01/17/2013 08:16 AM, Fabien Lafont wrote: Hello everyone, I've just changed my computer from a old core 2 duo on windows Xp to a intel Xeon with 12 Gb Ram. I've installed matplotlib but I

Re: [Matplotlib-users] Matplotlib lag on windows seven

2013-01-17 Thread Fabien Lafont
What is a backend??? The version number? I'm using Matplotlib 1.1.1 2013/1/17 Michael Droettboom md...@stsci.edu Which backends are you using on each platform. A difference there is the most likely culprit. Mike On 01/17/2013 08:16 AM, Fabien Lafont wrote: Hello everyone, I've

Re: [Matplotlib-users] Matplotlib lag on windows seven

2013-01-17 Thread Benjamin Root
On Thu, Jan 17, 2013 at 8:43 AM, Fabien Lafont lafont.fab...@gmail.comwrote: What is a backend??? The version number? I'm using Matplotlib 1.1.1 from pylab import * get_backend() Ben Root -- Master Visual Studio,

Re: [Matplotlib-users] Render canvas object (figure) to html files(templates) in Django.

2013-01-17 Thread Benjamin Root
On Fri, Jan 11, 2013 at 6:14 AM, Navid Shaikh shaikhnavi...@gmail.comwrote: Hi all, I am using matplotlib with Django. I want to display figures processed in Django apps by matplotlib in browser using html5. I tried: *def plot_file(request):* *import matplotlib.cbook as cbook* *

Re: [Matplotlib-users] mathtext and fonts under Windows 8

2013-01-17 Thread Daniel Hyams
But the thing that bothers me about this error is that it only occurs if I try to mix mathtext and non-matplotlib font. So matplotlib finds Arial just fine. And it finds the mathtext font fine. Only the mixture is fatal. It's as if the parser loses track of the Arial font, or it looks

Re: [Matplotlib-users] matplotlib-1.2.0: regression in histogram with barstacked drawing?

2013-01-17 Thread Benjamin Root
On Sat, Dec 29, 2012 at 4:41 PM, Martin Mokrejs mmokr...@fold.natur.cuni.cz wrote: Hi, I recently updated to matplotlib-1.2.0 from 1.1.1 and my figures have rotated order of color bars stacked upon each other. Here is a small testcase I sketched now and two generated png files are

Re: [Matplotlib-users] Matplotlib lag on windows seven

2013-01-17 Thread Fabien Lafont
Thanks! I have:Qt4Agg 2013/1/17 Benjamin Root ben.r...@ou.edu On Thu, Jan 17, 2013 at 8:43 AM, Fabien Lafont lafont.fab...@gmail.comwrote: What is a backend??? The version number? I'm using Matplotlib 1.1.1 from pylab import * get_backend() Ben Root

Re: [Matplotlib-users] matplotlib-1.2.0: regression in histogram with barstacked drawing?

2013-01-17 Thread Martin Mokrejs
Hi Ben, thank you, I don't think I managed to upload the figures attached to the email, but at least, the issue is opened: https://github.com/matplotlib/matplotlib/issues/1679 Thanks, Martin Benjamin Root wrote: On Sat, Dec 29, 2012 at 4:41 PM, Martin Mokrejs mmokr...@fold.natur.cuni.cz

Re: [Matplotlib-users] mathtext and fonts under Windows 8

2013-01-17 Thread Christoph Gohlke
I can reproduce this. The Windows 8 Arial font is different from the one in Windows 7. It seems other projects encountered and fixed the same issue: http://code.google.com/p/sumatrapdf/issues/detail?id=2056 Christoph On 1/17/2013 7:20 AM, Michael Droettboom wrote: Is the Arial font file

Re: [Matplotlib-users] mathtext and fonts under Windows 8

2013-01-17 Thread Michael Droettboom
Christoph, The patch you attach looks like it might be helpful to us. I'll investigate further. Mike On 01/17/2013 12:10 PM, Christoph Gohlke wrote: I can reproduce this. The Windows 8 Arial font is different from the one in Windows 7. It seems other projects encountered and fixed the same

Re: [Matplotlib-users] mathtext and fonts under Windows 8

2013-01-17 Thread CAB
Dear Michael and Christoph,   Many thanks for looking into this.  I am away from my W8 virtual machine right now, so I couldn't look into relative file sizes on the fonts.  I'd appreciate being informed on any fixes.   Chad From: Michael Droettboom

[Matplotlib-users] Subaxes deletion issue

2013-01-17 Thread gad
Hi everyone, I'm getting in trouble trying to delete a couple of subaxes from my canvas. The problem is shown by the example script below: from matplotlib.figure import Figure from mpl_toolkits.axes_grid.axes_divider import make_axes_locatable from matplotlib.backends.backend_qt4agg import