[Matplotlib-users] MacOSX backend hangs

2011-04-08 Thread Chris Fonnesbeck
I'm running a recent build from source (last week) on OSX 10.6.6 and the Python 2.6.1 that ships with the OS. When I use the macosx backend, any plot that I generate results in a window that hangs. The Python dock icon bounces for awhile, then when it stops, the spinning beach ball appears and

Re: [Matplotlib-users] sensible tick labels for log scale?

2011-01-13 Thread Chris Fonnesbeck
On Jan 12, 2011, at 10:33 PM, Paul Ivanov wrote: In [50]: plt.loglog(1,1) Out[50]: [matplotlib.lines.Line2D object at 0x108dde4c] In [51]: ax = plt.gca() In [52]: loc = ax.xaxis.get_major_locator() In [53]: loc.numticks Out[53]: 15 In [54]: loc.numticks = 10 Also, this approach

[Matplotlib-users] plot() cuts off long tick labels

2009-01-15 Thread Chris Fonnesbeck
Is there any way of preventing tick label names from being cut off by the plot canvas? Seems to happen every time: http://a3.s3.p.quickshareit.com/files/validationb0e66.png Thanks in advance. -- Chris Fonnesbeck Department of Mathematics and Statistics PO Box 56, University of Otago Dunedin

[Matplotlib-users] plot() cuts off long tick labels

2009-01-15 Thread Chris Fonnesbeck
Is there any way of preventing tick label names from being cut off by the plot canvas? Seems to happen every time: http://a3.s3.p.quickshareit.com/files/validationb0e66.png Thanks in advance. -- Chris Fonnesbeck Department of Mathematics and Statistics PO Box 56, University of Otago Dunedin

[Matplotlib-users] rotating plots

2009-01-13 Thread Chris Fonnesbeck
of elements for each category, so a boxplot is not appropriate. Thanks in advance, -- Chris Fonnesbeck Department of Mathematics and Statistics PO Box 56, University of Otago Dunedin, New Zealand -- This SF.net email

Re: [Matplotlib-users] OS X (Intel Mac) installation woes

2008-08-18 Thread Chris Fonnesbeck
Nathaniel Virgo [EMAIL PROTECTED] writes: Hi allI'm having trouble installing on OS X.  The short story is it looks like something file is trying to build something for a ppc architecture when I'm on an Intel mac.Here's the long story:First I downloaded the

[Matplotlib-users] multivariate scatter plots?

2008-08-18 Thread Chris Fonnesbeck
I'm trying to track down a function/recipe for generating a multivariate scatter plot. I'm thinking of something similar to what you get in R if you call plot on a multivariate data frame: http://mt11.quickshareit.com/share/rplotb1a70.pdf Is there anything obvious here? It seems like something

[Matplotlib-users] matplotlib ignores CocoaAgg backend in matplotlibrc

2007-12-05 Thread Chris Fonnesbeck
I have the CocoaAgg backend specified in matplotlibrc in ~/.matplotlib/ as: backend : CocoaAgg However, when I plot, matplotlib uses the TkAgg backend in spite of this. -- Christopher J. Fonnesbeck + Fish Wildlife Research Institute (FWC) + 727.235.5570

Re: [Matplotlib-users] matplotlib ignores CocoAff backend preference

2007-12-04 Thread Chris Fonnesbeck
Of course, I meant CocoaAgg, not -Aff. cf On Dec 4, 2007 1:49 PM, Chris Fonnesbeck [EMAIL PROTECTED] wrote: I have the CocoaAgg backend specified in matplotlibrc in ~/.matplotlib/ as: backend : CocoaAgg However, when I plot, matplotlib uses the TkAgg backend in spite

Re: [Matplotlib-users] hist() hangs on OSX 10.5

2007-12-03 Thread Chris Fonnesbeck
On Dec 2, 2007 10:44 PM, John Hunter [EMAIL PROTECTED] wrote: On Dec 2, 2007 9:23 PM, Chris Fonnesbeck [EMAIL PROTECTED] wrote: Running a recent build from svn on OSX 10.5, the TkAgg interface becomes unresponsive after plotting a histogram and calling show(). Here is a sample from

Re: [Matplotlib-users] hist() hangs on OSX 10.5

2007-12-03 Thread Chris Fonnesbeck
On Dec 3, 2007 11:04 AM, Michael Droettboom [EMAIL PROTECTED] wrote: Possibly related to the _tkagg extension -- that's what defines the PyAggImagePhoto method. If you installed ActiveState's Tcl/Tk after building matplotlib, that could explain this. Try doing a clean build of matplotlib

Re: [Matplotlib-users] hist() hangs on OSX 10.5

2007-12-03 Thread Chris Fonnesbeck
On Dec 3, 2007 10:58 AM, John Hunter [EMAIL PROTECTED] wrote: On Dec 2, 2007 9:23 PM, Chris Fonnesbeck [EMAIL PROTECTED] wrote: Running a recent build from svn on OSX 10.5, the TkAgg interface becomes unresponsive after plotting a histogram and calling show(). Here is a sample from

[Matplotlib-users] TypeError on CocoaAgg backend

2007-12-03 Thread Chris Fonnesbeck
OK, I'm having a bad backend day (insert joke here). Since I am on OSX, I decided to switch over to the CocoaAgg backend, but it fails when trying to show a histogram, yielding the following TypeError: In [4]: from matplotlib import use In [5]: use('CocoaAgg') In [6]: from pylab import hist,

Re: [Matplotlib-users] TypeError on CocoaAgg backend

2007-12-03 Thread Chris Fonnesbeck
On Dec 3, 2007 7:34 PM, Barry Wark [EMAIL PROTECTED] wrote: sorry instances of self.plotView.image On Dec 3, 2007 3:38 PM, Chris Fonnesbeck [EMAIL PROTECTED] wrote: I replaced the one instance of this that I found. I now get the following error: In [7]: show

Re: [Matplotlib-users] hist() hangs on OSX 10.5

2007-12-03 Thread Chris Fonnesbeck
On Dec 3, 2007 9:41 PM, John Hunter [EMAIL PROTECTED] wrote: On Dec 3, 2007 10:13 AM, John Hunter [EMAIL PROTECTED] wrote: Sorry for the confusion, I was still on the *old* problem of tkagg hanging w/ hist, and was wondering if it was hanging with other plot commands too. Not that you can

[Matplotlib-users] pytz, dateutil not getting installed from svn build

2007-07-17 Thread Chris Fonnesbeck
For some reason, builds from SVN dont install either pytz or dateutil (at least not in the right place). Importing pylab from these builds results in an import error. How can I build these so as to convince these modules to install correctly? Thanks.

[Matplotlib-users] Bus error on multiple hist plots

2007-07-14 Thread Chris Fonnesbeck
I get a repeatable bus error when trying to plot more than one histogram of simulated data. The first plot is generated without error, but invariably a second plot crashes: In [4]: x = random.negative_binomial(2, 0.25, 1000) In [5]: from pylab import * In [6]: hist(x) Out[6]: (array([240, 318,

[Matplotlib-users] cannot import name rcParams

2007-06-14 Thread Chris Fonnesbeck
I have a strange problem with my builds of matplotlib on OS X 10.4: If I install them from the command line, with setup.py, they install fine and matplotlib can be imported with no problem. However, I need to build distributable OS X packages, which I do using bdist_mpkg; when this package is

[Matplotlib-users] cannot import name rcParams

2007-06-14 Thread Chris Fonnesbeck
I have a strange problem with my builds of matplotlib on OS X 10.4: If I install them from the command line, with setup.py, they install fine and matplotlib can be imported with no problem. However, I need to build distributable OS X packages, which I do using bdist_mpkg; when this package is

Re: [Matplotlib-users] subplot does not work in svn

2007-01-31 Thread Chris Fonnesbeck
. If that doesn't work, try making a minimal script that illustrates the problem. examples/newscalarformatter_demo.py works fine, so I don't think the basic subplot mechanism is broken. Chris Fonnesbeck wrote: I have just updated to a matplotlib build from SVN, and now all my subplots generate

Re: [Matplotlib-users] Missing dll in windows build 0.87.4

2006-07-24 Thread Chris Fonnesbeck
However, I have Tk installed, as it comes bundled with ActiveState python. -- Chris Fonnesbeck + Atlanta, GA + http://trichech.us - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll

[Matplotlib-users] Missing dll in windows build 0.87.4

2006-07-22 Thread Chris Fonnesbeck
\_transforms.py, line 17, in ? from matplotlib._ns_transforms import *ImportError: DLL load failed: The specified module could not be found.I have tried building matplotlib myself using mingw32, but with no success. Any help is most appreciated. -- Chris Fonnesbeck + Atlanta, GA + http://trichech.us