Re: [Matplotlib-users] Large circle causes matplotlib to hang

2011-04-15 Thread Eric Firing
On 04/15/2011 12:08 PM, Thomas Robitaille wrote: > Hi, > > The following code causes matplotlib to hang: > > --- > > import numpy as np > > import matplotlib as mpl > mpl.use('Agg') > import matplotlib.pyplot as plt > from matplotlib.patches import Circle > > fig = plt.figure() > ax = fig.add_subpl

Re: [Matplotlib-users] Bounding box no longer works for EPS files if usetex=True

2011-04-15 Thread Thomas Robitaille
It seems this stopped working after commit r8906 (svn) or 32f64b01c98d1e3b51be57ab49c899cf91017817: r8906 | efiring | 2011-01-11 21:53:37 -1000 (Tue, 11 Jan 2011) | 2 lines Fix eps distillation bbox bug; closes 3032385 I have opened a ticket on GitHub: https://github.com/matplotlib/matplotlib/

[Matplotlib-users] Bounding box no longer works for EPS files if usetex=True

2011-04-15 Thread Thomas Robitaille
Hello, It seems that at some point in the last few months a change was made that means that the following code no longer works properly: --- import matplotlib as mpl mpl.use('Agg') import matplotlib.pyplot as plt import numpy as np mpl.rc('text', usetex=True) fig = plt.figure() ax = fig.add_a

[Matplotlib-users] bad label for colorbar when plotting constant field

2011-04-15 Thread Dexter Douglas
Hello, I am having a problem with the colorbar when plotting a constant field. The small script below will generate a plot that is a solid blue image with a solid blue colorbar. However the label on the colorbar is garbage. There is no way to read the label to determine what value the image r

[Matplotlib-users] Large circle causes matplotlib to hang

2011-04-15 Thread Thomas Robitaille
Hi, The following code causes matplotlib to hang: --- import numpy as np import matplotlib as mpl mpl.use('Agg') import matplotlib.pyplot as plt from matplotlib.patches import Circle fig = plt.figure() ax = fig.add_subplot(1,1,1) ax.add_patch(Circle((1.e17, 1.e17), radius=1.e15)) fig.savefig('

Re: [Matplotlib-users] Issue with imshow and usetex

2011-04-15 Thread Thomas Robitaille
Hi JJ, I just want to confirm that changing pswrite to ps2write fixes the issue for me. Since no-one else replied to this thread, is this something we should ask the ghostscript mailing list about? Cheers, Tom On 13 March 2011 10:01, Jae-Joon Lee wrote: > Okay, I just confirmed that using a gs

Re: [Matplotlib-users] Re : matplotlibrc for [ieee] publications

2011-04-15 Thread alex arsenovic
i like the module-based idea. its a bit overkill for the functionality needed, but the concise call makes it very convenient. also, installation and updating would be easy through pip/easy_install. should i start a google-code project? or does someone have a preferred way to start this? alex

Re: [Matplotlib-users] Re : matplotlibrc for [ieee] publications

2011-04-15 Thread Tony Yu
On Fri, Apr 15, 2011 at 8:36 AM, Auré Gourrier wrote: > Good Idea ! > I'm also using mpl for other publications than ieee and it sounds like a > small mplrc data base with targeted journal specifications would be > worthwhile doing ! I would be ready to contribute. > Cheers, > Auré > > Is there an

Re: [Matplotlib-users] Re : matplotlibrc for [ieee] publications

2011-04-15 Thread Michael Droettboom
It would be great to include this in matplotlib. However, I think it's not unreasonable to expect that these things would evolve faster than the release cycle of matplotlib. Perhaps a user is stuck on an older version of matplotlib because they want to use pre-built packages etc., or whatever

Re: [Matplotlib-users] Re : matplotlibrc for [ieee] publications

2011-04-15 Thread alex arsenovic
this seems like the right way to do it. maybe it can be included in the matplotlib package? alex On Fri, 2011-04-15 at 15:54 +0200, Adrian Hill wrote: > I have previously used some script from Mike DePalatis for making APS > (PRL, PRB, etc.) suitable plots. Maybe it will be a useful starting >

Re: [Matplotlib-users] Re : matplotlibrc for [ieee] publications

2011-04-15 Thread Adrian Hill
I have previously used some script from Mike DePalatis for making APS (PRL, PRB, etc.) suitable plots. Maybe it will be a useful starting point. http://mike.depalatis.net/docs/mpllatex.html """ mplparams.py M.V. DePalatis, 2010-09-01 Licensed under the GNU GPL v3 matplotlib rc params and a

[Matplotlib-users] rotate subplot with respect to whole figure

2011-04-15 Thread stauch
Dear experts, is there a way of rotating a single subplot in a multi-faceted figure with respect to the others? i.e. I have a contour plot representing a 2D histogram and on the top of it and to its left two line plots, representing the respective 1D components. I am aware of the possibility to sw

[Matplotlib-users] matplotlibrc for ieee publications

2011-04-15 Thread alex arsenovic
i was wondering if anyone had considered making a matplotlibrc which generates plots suitable for ieee publications (specifically ieee transactions)? or any other publications for that matter. like a set of matching matplotlibrc's to journals. if not, i think it would be a valuable thing to ma

[Matplotlib-users] Re : matplotlibrc for [ieee] publications

2011-04-15 Thread Auré Gourrier
Good Idea ! I'm also using mpl for other publications than ieee and it sounds like a small mplrc data base with targeted journal specifications would be worthwhile doing ! I would be ready to contribute. Cheers, Auré De : alex arsenovic À : matplotlib-users@

[Matplotlib-users] matplotlibrc for [ieee] publications

2011-04-15 Thread alex arsenovic
i was wondering if anyone had considered making a matplotlibrc which generates plots suitable for ieee publications (specifically ieee transactions)? or any other publications for that matter. like a set of matching matplotlibrc's to journals (or some other way to achieve a similar functionality