Re: [Matplotlib-users] Grids independent of data coordinates

2011-03-17 Thread Jörgen Stenarson
Paul Ivanov skrev 2011-03-17 20:58: > Jörgen Stenarson, on 2011-03-16 18:04, wrote: >> Hi, >> >> I'm interested in making plots that are plotted on a polar grid or a >> smith chart grid but where the data coordinates still are normal >> rectangular. It i

[Matplotlib-users] Grids independent of data coordinates

2011-03-16 Thread Jörgen Stenarson
Hi, I'm interested in making plots that are plotted on a polar grid or a smith chart grid but where the data coordinates still are normal rectangular. It is not clear for me if this is possible with the standard gridding machinery or if some other approach is necessary. Another question is how

Re: [Matplotlib-users] pdf backend always uses solid_joinstyle="miter"

2009-03-11 Thread Jörgen Stenarson
Jouni K. Seppänen skrev: > Jörgen Stenarson writes: > >> I have been unable to get the pdf backend to respect the settings for >> solid_joinstyle properly. > > Fixed on the trunk; the test case is examples/api/joinstyle.py. Thanks > for your report! > Thanks fo

[Matplotlib-users] pdf backend always uses solid_joinstyle="miter"

2009-03-10 Thread Jörgen Stenarson
Hi, I have been unable to get the pdf backend to respect the settings for solid_joinstyle properly. When doing a plot using the default matplotlibrc I get rounded joins when saving as png but mitered when using pdf. I have also tried to set the joinstyle="round" directly in the plot command wi

[Matplotlib-users] svn problems

2008-12-16 Thread Jörgen Stenarson
Hi, I have a problem with svn. When updating trunk today I get the following from line 94 in matplotlib/__init__.py: __date__ = '$Date: 2008-12-15 21:46:00 +0100 (må, 15 dec 2008) $' As you can see there is a 'å' in the Date string but there is no encoding specified at the top of the file

[Matplotlib-users] Can not build trunk on windows

2008-12-16 Thread Jörgen Stenarson
Hi I get the following error when I try to build matplotlib on a windows machine. It builds fine if I comment out the offending line in setup.py. C:\python\external\matplotlib-trunk>python setup.py config --compiler=mingw32 build --compiler=mingw32 bdist Traceback (most recent call last): F

Re: [Matplotlib-users] Font problem

2008-12-12 Thread Jörgen Stenarson
Jouni K. Seppänen skrev: > Michael Droettboom writes: > >> Jörgen Stenarson wrote: >>> I tried to use usetex to generate my pdf figures but I got a crash >>> when saving the figure, log attached. I traced the crash to >>> find_tex_file(), apparently

Re: [Matplotlib-users] Font problem

2008-12-11 Thread Jörgen Stenarson
Jouni K. Seppänen skrev: > > In Unix shells ' is the better quoting character because all sorts of > things have special meaning within " characters... but I changed it to > use subprocess.Popen instead, so we shouldn't need to worry about shell > quoting at all. > > Jörgen: Thanks for your repor

Re: [Matplotlib-users] Font problem

2008-12-11 Thread Jörgen Stenarson
x27;matplotlib.types', 'numpy.core.defmatrix', 'xml.sax.os', 'cPickle', 'matplotlib.xml', '_codecs', 'numpy.lib.operator', 'encodings.cp1252', 'matplotlib.pyparsing', 'nturl2path', 'numpy.ma.numpy',

Re: [Matplotlib-users] Font problem

2008-12-10 Thread Jörgen Stenarson
Michael Droettboom skrev: > Unfortunately, I think this is a bug. The ordering of fonts in the > family list is being ignored, and Bitstream Vera Sans is winning over > Nimbus Roman for reasons other than its name. I'll have to get this > patch in for the bugfix release we're already planning.

[Matplotlib-users] Font problem

2008-12-10 Thread Jörgen Stenarson
', 'matplotlib.types', 'numpy.core.defmatrix', 'xml.sax.os', 'cPickle', 'matplotlib.xml', '_codecs', 'numpy.lib.operator', 'encodings.cp1252', 'matplotlib.pyparsing', 'nturl2path', 'nu

Re: [Matplotlib-users] ANN: matplotlib website 1.0

2008-10-16 Thread Jörgen Stenarson
The new webpage looks great, sphinx has really meant a lot for the documentation in the scientific projects. > > Because some of these extensions are generally useful, Michael, > Fernando and I have been working on a "sphinx_template" which contains > the template of a sphinx documentation projec

Re: [Matplotlib-users] Crash when trying to build docs on windows

2008-06-17 Thread Jörgen Stenarson
John Hunter skrev: > On Tue, Jun 17, 2008 at 3:00 PM, Jörgen Stenarson > <[EMAIL PROTECTED]> wrote: > >> I did a svn up and a clean rebuild but still the same error. The error >> reminded me of the problems a while back when references to the >> fontfiles were

Re: [Matplotlib-users] Crash when trying to build docs on windows

2008-06-17 Thread Jörgen Stenarson
Michael Droettboom skrev: > I'm not sure these two issues are related. > I don't think so either but I thought I should mention it anyway. > Before I look deeper, have you updated from SVN today? I fixed a bug > earlier today related to using the STIX fonts (which appears to be where > this is

[Matplotlib-users] Crash when trying to build docs on windows

2008-06-17 Thread Jörgen Stenarson
Hi, I have tried to build the docs of current trunk on windows using python2.5. But I get a crash with an Assertion failed: ob_refcnt == 0, file CXX\cxx_extensions.cxx, line 1128 There are also some warnings caused by the use of the link mpl_data. Is it possible to get this link to work on win

Re: [Matplotlib-users] invalid pngs from pylab.savefig on windows

2008-05-17 Thread Jörgen Stenarson
John Hunter skrev: On Fri, May 16, 2008 at 1:46 PM, Jörgen Stenarson <[EMAIL PROTECTED]> wrote: Hi, with current svn (r5149) I get currupt png files when saving using pylab.savefig. I'm using the TkAgg backend with no changes to the default matplotlibrc. It looks like the problem o

Re: [Matplotlib-users] filehandle leaks in matplotlib 0.91.1

2007-12-06 Thread Jörgen Stenarson
Michael Droettboom skrev: > I'm on a Linux box (I'm assuming you're on Windows, since you mentioned > Process Explorer), and I wasn't able to find any file handle "leaks", as > such, but I did see that font files were being opened many more times > than they need to be. > > If you're able to ru

[Matplotlib-users] filehandle leaks in matplotlib 0.91.1

2007-12-05 Thread Jörgen Stenarson
hi, I think the new 0.91.1 has some kind of file handle leak at least when using python 2.4, tkagg, and within ipython. Using process explorer to look at filehandles opened by python then I get about 25 new open handles to vera.ttf per %run of the following script. from pylab import * figure(

Re: [Matplotlib-users] Bug in mathtext

2007-12-04 Thread Jörgen Stenarson
Michael Droettboom skrev: > Fernando Perez wrote: >> Hey Jorgen, >> >> On Dec 4, 2007 12:10 PM, Jörgen Stenarson <[EMAIL PROTECTED]> wrote: >>> Hi, >>> >>> I get a complete crash dumping me in the console when there are unknown >&g

[Matplotlib-users] Bug in mathtext

2007-12-04 Thread Jörgen Stenarson
Hi, I get a complete crash dumping me in the console when there are unknown latex commands in a mathtext expression, this when doing interactive stuff in ipython -pylab. examples: title("$|S_{11}|$") title("$\vbar S_{11} \vbar$") I would also like to see an alias between | and \vert like the

Re: [Matplotlib-users] Problems with binary install of matplotlib-0.9.1 python2.4 on windows

2007-12-04 Thread Jörgen Stenarson
Charlie Moad skrev: > I have posted fresh win32 eggs and exe's on SF. I explicitly removed > the inclusion of msvcp from distutils in numpy. Please give them a > try and let me know if you have any more problems. Note: I just > posted the files so it might take a while for them to propagate. >

[Matplotlib-users] Problems with binary install of matplotlib-0.9.1 python2.4 on windows

2007-12-03 Thread Jörgen Stenarson
Hi, After upgrading to the new matplotlib 0.9.1 on python2.4 using the windows binary installer I get the following error: C:\>python Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> impor