[Matplotlib-users] tex error with colorbar

2014-11-10 Thread Gideon Simpson
If I try to format the text using tex in a figure where a colorbar is present, I get the following error: Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/artist.py", line 59, in draw_wrapper draw(ar

Re: [Matplotlib-users] mpl 1.0.1 + snow leopard + python 2.7

2011-02-22 Thread Gideon Simpson
Per a suggestion, I downgraded myself to the 32 bit python 2.7.1. I tried installing the 32 bit binaries from the website, but get the following: Python 2.7.1 (r271:86882M, Nov 30 2010, 09:39:13) [GCC 4.0.1 (Apple Inc. build 5494)] on darwin Type "help", "copyright", "credits" or "license" for

Re: [Matplotlib-users] mpl 1.0.1 + snow leopard + python 2.7

2011-02-22 Thread Gideon Simpson
That's right. python setup.py build seems to execute without a problem (though there were some warnings). But then I get an architecture issue. -gideon On Feb 22, 2011, at 4:54 PM, Darren Dale wrote: > On Tue, Feb 22, 2011 at 4:21 PM, Gideon Simpson > wrote: >> Here&

Re: [Matplotlib-users] mpl 1.0.1 + snow leopard + python 2.7

2011-02-22 Thread Gideon Simpson
ages/matplotlib/_path.so: mach-o, but wrong architecture -gideon On Feb 22, 2011, at 2:17 PM, Darren Dale wrote: > On Tue, Feb 22, 2011 at 1:35 PM, Gideon Simpson > wrote: >> Hi, I have OS X 10.6.6, Python 2.7.1 installed from the binary at >> python.org, and I am trying to get mp

[Matplotlib-users] mpl 1.0.1 + snow leopard + python 2.7

2011-02-22 Thread Gideon Simpson
Hi, I have OS X 10.6.6, Python 2.7.1 installed from the binary at python.org, and I am trying to get mpl 1.0.1 running. I have no problem with numpy/scipy, but I seem to be having 32 vs. 64 bit issues with mpl. I believe that the binaries online are only 32 bit, yet my installation is 64 bit.

[Matplotlib-users] bus error on os x 10.6

2010-03-31 Thread Gideon Simpson
I'm using the prebuilt OS X dmg distribution of matplotlib with the mac python 2.6.4 installation on os x 10.6.3. I find that if I try to use savefig to pdf format, my program terminates with a bus error. There is no such error if I save to eps format. -gideon --

Re: [Matplotlib-users] os x trouble

2009-08-10 Thread Gideon Simpson
--Michiel > > --- On Fri, 8/7/09, Gideon Simpson wrote: > >> From: Gideon Simpson >> Subject: [Matplotlib-users] os x trouble >> To: matplotlib-users@lists.sourceforge.net >> Date: Friday, August 7, 2009, 12:27 PM >> With 0.99.0, I'm getting the >&g

[Matplotlib-users] os x trouble

2009-08-07 Thread Gideon Simpson
With 0.99.0, I'm getting the following error when building from source. I believe this is the same error I got in earlier versions: gcc -fno-strict-aliasing -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -I/opt/lib/ python2.5/site-pac

[Matplotlib-users] different vertical axes scales

2009-05-02 Thread Gideon Simpson
I have two time series, {u_j} and {v_j}, with vastly different scales, but all sampled at the same times, {t_j}. Is there an easy way to plot the two on the same figure, with different vertical axes on the left and the right? -gideon ---

[Matplotlib-users] figure width

2009-05-01 Thread Gideon Simpson
Is there a way to construct a figure to have a certain width, setting the height proportionally, so that this will be the actual size if I then save it as a PNG? -gideon -- Register Now & Save for Velocity, the Web P

[Matplotlib-users] Floating point exception

2009-05-01 Thread Gideon Simpson
When I try to plot some data, I get: Floating point exception How can I track down what's wrong? -gideon -- Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity f

[Matplotlib-users] saving at a specified size

2009-04-08 Thread Gideon Simpson
Is there a way to save a figured at a specified size? -gideon -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! ht

[Matplotlib-users] OS X trouble

2009-03-28 Thread Gideon Simpson
I don't know if this is because I upgraded to the current developement version of numpy or not, but I when I tried rebuilding matplotlib, I generated the following error: gcc -fno-strict-aliasing -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/lib/python2.5/site-pack

[Matplotlib-users] animating contour, contourf, pcolor, etc.

2009-02-11 Thread Gideon Simpson
If I have a line that I want to animate, I can clearly write: lineu, = plot(x,u) draw() for p in range(0, N): lineu.set_ydata(u) draw() Is there an analogue to set_ydata for things plots like contour, contourf, etc.? -gideon --

[Matplotlib-users] os x backend

2009-02-11 Thread Gideon Simpson
command-w does not seem to close the window. -gideon -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build res

[Matplotlib-users] contour animation

2009-02-03 Thread Gideon Simpson
Is it possible to do animation with contour plots? How? -gideon -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code

[Matplotlib-users] OS X backend and latex

2009-01-18 Thread Gideon Simpson
Has anyone else noticed that when using latex with the OS X backend, figures, while appearing fine on screen, come out poorly when saved as images? -gideon -- This SF.net email is sponsored by: SourcForge Community So

Re: [Matplotlib-users] saving figures on OS X

2008-11-12 Thread Gideon Simpson
Both of these issues seem to be resolved by the latest fink packages. -gideon On Nov 7, 2008, at 10:13 AM, Gideon Simpson wrote: > 1. I find that the eps's generated, for whatever reason, do not > automatically conform to something that Preview.app can open. it > gener

Re: [Matplotlib-users] saving figures on OS X

2008-11-07 Thread Gideon Simpson
yes that seems to work. there are no errors when i don't use the tex. -gideon On Nov 7, 2008, at 1:59 PM, Jouni K. Seppänen wrote: > Gideon Simpson <[EMAIL PROTECTED]> writes: > >> Verbose output attached: > > It looks like it is happening in dviread. Just to make s

Re: [Matplotlib-users] saving figures on OS X

2008-11-07 Thread Gideon Simpson
Verbose output attached: debug.out Description: Binary data -gideon On Nov 7, 2008, at 1:30 PM, Jouni K. Seppänen wrote: Gideon Simpson <[EMAIL PROTECTED]> writes: 1. I find that the eps's generated, for whatever reason, do not automatically conform to something that Prev

[Matplotlib-users] saving figures on OS X

2008-11-07 Thread Gideon Simpson
1. I find that the eps's generated, for whatever reason, do not automatically conform to something that Preview.app can open. it generates the error: PostScript Conversion Error The PostScript file "test.eps" could not be converted to a PDF file. However, the eps's are fundamentally there.

[Matplotlib-users] GTK warning (OS X fink)

2008-10-26 Thread Gideon Simpson
This might be something wrong with the way fink has built GTK, but the following warnings are showing up for me: /opt/lib/python2.5/site-packages/matplotlib/backends/backend_gtk.py: 72: GtkWarning: Unable to find default local directory monitor type gtk.main() /opt/lib/python2.5/site-package

Re: [Matplotlib-users] formatting figures for publciation

2008-09-28 Thread Gideon Simpson
es: > savefig > > On Fri, 2008-09-26 at 18:49 -0400, Gideon Simpson wrote: >> Is there anything akin to this MATLAB script: >> >> http://www.mathworks.com/company/newsletters/digest/june00/export/ >> >> available for mpl? or some simple set of comman

[Matplotlib-users] formatting figures for publciation

2008-09-26 Thread Gideon Simpson
Is there anything akin to this MATLAB script: http://www.mathworks.com/company/newsletters/digest/june00/export/ available for mpl? or some simple set of commands that will accomplish the same task? -gideon - This SF.Net

Re: [Matplotlib-users] help error

2008-07-02 Thread Gideon Simpson
So no one else has seen this bug? I'm on an OS X 10.5.4 machine with fink python 2.5.2 and associated backend packages. i'm using my own builds of numpy/scipy and matplotlib. -gideon On Jul 1, 2008, at 11:16 AM, Gideon Simpson wrote: > matplotlib itself seems to work, in the

Re: [Matplotlib-users] help error

2008-07-01 Thread Gideon Simpson
matplotlib itself seems to work, in the sense that it makes figures and puts the lines in the right places. however, that error is still showing up if i go to help() then modules On Jul 1, 2008, at 11:01 AM, John Hunter wrote: > On Tue, Jul 1, 2008 at 9:14 AM, Gideon Simpson > &

Re: [Matplotlib-users] help error

2008-07-01 Thread Gideon Simpson
verbose-helpful. # # You can access the verbose instance in your code # from matplotlib import verbose. #verbose.level : silent # one of silent, helpful, debug, debug- annoying #verbose.fileo : sys.stdout # a log filename, sys.stdout or sys.stderr On Jul 1, 2008, at 9:33 AM, John Hunter wr

Re: [Matplotlib-users] help error

2008-07-01 Thread Gideon Simpson
, 'numpy.core.re', 'socket', '_types', 'numpy.core.fromnumeric', 'hashlib', 'compiler.future', 'numpy.core.copy_reg', 'numpy.lib.scimath', 'numpy.fft', 'numpy.lib', 'compiler.dis', '

Re: [Matplotlib-users] help error

2008-07-01 Thread Gideon Simpson
uesday 01 July 2008 00:02:51 Gideon Simpson wrote: >> Just tried the 0.98.2, and am still getting: >> >> help> modules >> >> Please wait a moment while I gather a list of all available >> modules... >> >> Traceback (most recent call last): >>

Re: [Matplotlib-users] help error

2008-06-30 Thread Gideon Simpson
tconfig.py", line 391, in __init__ raise TConfigInvalidKeyError(m) matplotlib.config.tconfig.TConfigInvalidKeyError: In config defined in file: '/opt/lib/python2.5/site-packages/matplotlib/mpl-data/ matplotlib.conf' Error processing section: figure These keys are invalid :

Re: [Matplotlib-users] help error

2008-06-24 Thread Gideon Simpson
my .matplotlib folder is empty. also, my installation otherwise appears to work. -gideon On Jun 24, 2008, at 10:01 AM, John Hunter wrote: > On Tue, Jun 24, 2008 at 8:27 AM, Gideon Simpson > <[EMAIL PROTECTED]> wrote: >> I built from source. I removed my existi

Re: [Matplotlib-users] help error

2008-06-24 Thread Gideon Simpson
, John Hunter wrote: > On Mon, Jun 23, 2008 at 11:41 PM, Gideon Simpson > <[EMAIL PROTECTED]> wrote: >> I was trying to look up a module, and, after installing matplotlib >> 0.98.1, I get: > >> File "/opt/lib/python2.5/site-packages/matplotlib/config/

[Matplotlib-users] help error

2008-06-23 Thread Gideon Simpson
I was trying to look up a module, and, after installing matplotlib 0.98.1, I get: help> modules Please wait a moment while I gather a list of all available modules... Traceback (most recent call last): File "", line 1, in File "/sw/lib/python2.5/site.py", line 346, in __call__ retu

Re: [Matplotlib-users] os x 10.5.3 numpy 1.10 error

2008-05-29 Thread Gideon Simpson
Never mind. I think this may have had to do with something else not being installed correctly. This config (numpy 1.10, apple python 2.5.1, mpl 0.91.2, /usr/X11 png and freetype) works fine though. On May 29, 2008, at 9:59 PM, Alan G Isaac wrote: > On Thu, 29 May 2008, Gideon Simp

[Matplotlib-users] os x 10.5.3 numpy 1.10 error

2008-05-29 Thread Gideon Simpson
Using apple python, numpy 1.10, I get the following error in matplotlib 0.91.2: Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from pylab import * >>> plot([1,2,3,4]) []

[Matplotlib-users] os x 10.5.2 and macpython

2008-05-21 Thread Gideon Simpson
I wanted to try switching over from apple python to mac python 2.5.2, so I went to rebuild matplotlib svn. With the config: BUILDING MATPLOTLIB matplotlib: 0.98pre python: 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) [GCC 4.0.1 (Apple Compute

[Matplotlib-users] animation on OS X

2008-05-18 Thread Gideon Simpson
I'm using matplotlib 0.91.2 on os x 10.5.2, and on all the animation examples i've tried, I don't actually see any animation. The window launches, the wheel spins and then either: 1. I only see the last frame of the animation, if the script leaves it up 2. I don't see anything, and the s

Re: [Matplotlib-users] saving PNG graphics on mac

2008-04-13 Thread Gideon Simpson
addition, the MacPython instalation provides Python 2.5.2, not just > 2.5.1. > > Matplotlib aside, you might want to make sure you installed the > Unicode version of wxWidgets, and reinstall it if necessary. > > Josh > > On Sun, Apr 13, 2008 at 3:12 PM, Gideon Simpson > &

Re: [Matplotlib-users] saving PNG graphics on mac

2008-04-13 Thread Gideon Simpson
I had this error once a long time ago, > but at some point since then a rebuild of everything fixed it. In the > mean time, using savefig will still work even if the GUI button > doesn't. > > Josh > > On Sat, Apr 12, 2008 at 11:41 AM, Gideon Simpson > <[EMAIL PROTECTED

[Matplotlib-users] saving PNG graphics on mac

2008-04-12 Thread Gideon Simpson
For some reason when trying to save in PNG format on OS X 10.5.2, a window pops up with the error: Matplotlib backend_wx error cannot return std::string from Unicode object This is with the simple scipy demo at http://www.scipy.org/Cookbook/OptimizationDemo1 Gideon Simpson Department of