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 is not clear for me if this is possible

[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

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 jorgen.stenar...@bostream.nu 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 for the quick

[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

[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-trunkpython setup.py config --compiler=mingw32 build --compiler=mingw32 bdist Traceback (most recent call last):

[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

Re: [Matplotlib-users] Font problem

2008-12-12 Thread Jörgen Stenarson
Jouni K. Seppänen skrev: Michael Droettboom md...@stsci.edu 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 ' can not be used to quote filenames

Re: [Matplotlib-users] Font problem

2008-12-11 Thread Jörgen Stenarson
', 'numpy.linalg.linalg', 'numpy.testing.utils'] $HOME=c:\documents and settings\jörgen stenarson\ CONFIGDIR=c:\documents and settings\jörgen stenarson\.matplotlib Using fontManager instance from c:\documents and settings\jörgen stenarson\.matplotlib\fontList.cache backend TkAgg version 8.4 Found dvipng

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 report,

[Matplotlib-users] Font problem

2008-12-10 Thread Jörgen Stenarson
', 'numpy.testing.numpy', 'numpy.linalg.linalg', 'numpy.testing.utils'] $HOME=c:\documents and settings\jörgen stenarson\ CONFIGDIR=c:\documents and settings\jörgen stenarson\.matplotlib font search path ['C:\\Python25\\lib\\site-packages\\matplotlib-0.98.4-py2.5-win32.egg\\matplotlib\\mpl-data

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.

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 project

[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

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

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 not released. So I have tried to look

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 occurs first

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

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] 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 there

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 latex commands in a mathtext expression, this when doing interactive stuff in ipython