Re: [matplotlib-devel] FW: [Matplotlib-users] Forcing the size of a figure

2011-08-15 Thread Dieter Weber
Hi Stan, this size problem sounds somewhat familiar to me. I had a serious headache to get the interaction of wx.ScrolledWindow, wx.BoxSizer and matplotlib.backends.backend_wxagg.FigureCanvasWxAgg right when zooming a canvas in and out and resizing the window. I am not sure if it will help you, bu

[matplotlib-devel] FYI: SVG with option "svgfont" enabled hangs inkscape

2011-06-22 Thread Dieter Weber
Hi, it's not directly a problem with matplotlib, but I just wanted to let you know that SVGs generated with matplotlib.rcParams['svg.fonttype'] = 'svgfont' hang inkscape . Greetings, Dieter --

Re: [matplotlib-devel] SVG export mangled

2011-06-21 Thread Dieter Weber
by setting your locale before > running python, i.e.: > > LANG=en_US.UTF-8 python svg_export2.py > > Cheers, > Mike > > On 06/21/2011 06:47 AM, Dieter Weber wrote: > > Hi folks, > > when I tried to export figures as SVG, the result was completely messed >

[matplotlib-devel] More precise instructions about installing from git

2011-06-21 Thread Dieter Weber
Hi everybody, just now I noticed that I was still running the old SVN version of matplotlib and not the most recent one from git. Apparently the files installed to (in my case) /usr/local/lib/python2.6/dist-packages/matplotlib from SVN with "python setup.py install" took precedence over the install

Re: [matplotlib-devel] Small fix for SVG backend

2010-12-17 Thread Dieter Weber
Hi Mike, the patch resolved my problem. Thanks a lot! Greetings, Dieter -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and

Re: [matplotlib-devel] Small fix for SVG backend

2010-12-17 Thread Dieter Weber
here: http://packages.ubuntu.com/lucid/python/ Would you like more information or should I run more tests? Greetings, Dieter Am Donnerstag, den 16.12.2010, 15:40 -0500 schrieb Michael Droettboom: > What platform are you on? It "works for me" on Fedora 14, RHEL 5 and > Cygwin. > > Mike >

Re: [matplotlib-devel] Small fix for SVG backend

2010-12-16 Thread Dieter Weber
Hi Mike, the error only occurs if the output file is specified as a file(-like) object instead of a file name. This is necessary for me in order to add a matplotlib-generated file to a tar archive via a safe temporary file. Greetings, Dieter #!/usr/bin/env python # -*- coding: utf-8 -*- import mat

[matplotlib-devel] Small fix for SVG backend

2010-12-16 Thread Dieter Weber
Hi, I tried to use matplotlib.rcParams['svg.embed_char_paths'] = False in order to have editable text in exported SVG, but there was an encoding issue and the file data could not be written (traceback appended). Therefore I exchanged the XML character escaping from sax in backend_svg.py with pytho

Re: [matplotlib-devel] Toolbar button for relimiting

2010-09-28 Thread Dieter Weber
Am Montag, den 27.09.2010, 15:42 -0700 schrieb butterw: > a few comments: > > One possible limitation of the proposed relim code is that it doesn't take > into account whether the lines are set visible or not. But otherwise it is > a useful function for interactive use, which incidentally is the

[matplotlib-devel] Toolbar button for relimiting

2010-09-27 Thread Dieter Weber
Hi, I'm using matplotlib embedded in my wxpython application and needed to give users a quick way to relimit a figure, for example after removing a line from a plot. Therefore I added a button to the toolbar. Do you think it would make sense to include this in matplotlib by default? Appended you fi

[matplotlib-devel] Patch for matplotlib.__init__ for speedup

2010-09-20 Thread Dieter Weber
Hi, I'm currently working on speeding up the legend rendering of matplotlib as this turns out to be a bottleneck for my application. With some tracing and profiling, I found that matplotlib.__init__.RcParams.__getitem__() makes up around 10% of the total function calls (by number) in my little test