[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

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

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

2011-02-22 Thread Gideon Simpson
, Darren Dale wrote: On Tue, Feb 22, 2011 at 1:35 PM, Gideon Simpson simp...@math.toronto.edu 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 mpl 1.0.1 running. I have no problem with numpy/scipy, but I seem to be having 32 vs. 64 bit

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 simp...@math.toronto.edu wrote: Here's

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 more

[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
--- On Fri, 8/7/09, Gideon Simpson simp...@math.toronto.edu wrote: From: Gideon Simpson simp...@math.toronto.edu 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 following error when building

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

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

[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

[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

[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

[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

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 generates the error: PostScript

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

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 Preview.app can

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 sure this is the culprit, could

[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()

[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

Re: [Matplotlib-users] help error

2008-07-01 Thread Gideon Simpson
: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): File stdin, line 1, in module File /sw/lib/python2.5/site.py, line 346, in __call__

Re: [Matplotlib-users] help error

2008-07-01 Thread Gideon Simpson
-packages/matplotlib/mpl- data/fonts/ttf/Vera.ttf On Jul 1, 2008, at 9:18 AM, John Hunter wrote: On Tue, Jul 1, 2008 at 8:13 AM, Gideon Simpson [EMAIL PROTECTED] wrote: It's already set to False I've completely blown away my installation, including removing ~/.matplotlib, and this problem

Re: [Matplotlib-users] help error

2008-07-01 Thread Gideon Simpson
: sys.stdout # a log filename, sys.stdout or sys.stderr On Jul 1, 2008, at 9:33 AM, John Hunter wrote: On Tue, Jul 1, 2008 at 8:22 AM, Gideon Simpson [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] python simple_plot.py --verbose-debug run.out $HOME=/Users/gideon CONFIGDIR=/Users/gideon

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 [EMAIL PROTECTED

Re: [Matplotlib-users] help error

2008-06-30 Thread Gideon Simpson
/python2.5/site-packages/matplotlib/mpl-data/ matplotlib.conf' Error processing section: figure These keys are invalid : ['autolayout'] Valid key names: ['edgecolor', 'facecolor', 'dpi', 'figsize'] On Jun 24, 2008, at 10:35 AM, Gideon Simpson wrote: my .matplotlib folder is empty. also

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/ tconfig.py, line 391, in __init__ raise

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 existing installation of matplotlib

[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 stdin, line 1, in module File /sw/lib/python2.5/site.py, line 346, in __call__

[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])

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 Simpson

[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

[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

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

2008-04-13 Thread Gideon Simpson
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] wrote: For some reason when trying to save in PNG

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

2008-04-13 Thread Gideon Simpson
installed the Unicode version of wxWidgets, and reinstall it if necessary. Josh On Sun, Apr 13, 2008 at 3:12 PM, Gideon Simpson [EMAIL PROTECTED] wrote: I don't see any error when I run python setup.py build for matplotlib. It seems to identify everything it needs. -gideon On Apr

[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