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

[Matplotlib-users] sensible tick labels for log scale (rephrased)

2011-01-13 Thread Chris Fonnesbeck
Sorry for the lack of clarity in my last shot at this problem. What I want to be able to do is change a plot's axis to the log scale, then have some reasonable (i.e. evenly-spaced) tick labels generated automatically. I have tried to do this manually, but end up with the following: http://cl.ly

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]: [] > > 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 does not seem to work in general for

[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
xplot per se -- there are only a small number 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 --

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

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-0.99.3-py2.5-macosx

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

[Matplotlib-users] matplotlib ignores CocoAff backend preference

2007-12-04 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] 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 fol

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 t

[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, sh

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 matplot

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 s

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 s

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

2007-12-02 Thread Chris Fonnesbeck
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 the process, in case it is useful: Sampling process 5635 for 3 seconds with 1 millisecond of run time between samples Sampling completed, proce

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

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

Re: [Matplotlib-users] __init__.py not installed in svn build package

2007-01-31 Thread Chris Fonnesbeck
On 1/31/07, Christopher Barker <[EMAIL PROTECTED]> wrote: Chris Fonnesbeck wrote: > I have built a > matplotlib installer for OS X, Sorry I can't help with your problem, but: Which Python are you building against? Which num* are you including Which wxPython? Whic

[Matplotlib-users] __init__.py not installed in svn build package

2007-01-31 Thread Chris Fonnesbeck
to be that __init__.py is not included in the package; when I do a standard install using setup.py, the file is copied over as it should be. -- Chris Fonnesbeck + Atlanta, GA + http://trichech.us - Using Tomcat but need to do

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

2007-01-31 Thread Chris Fonnesbeck
On 1/31/07, John Hunter <[EMAIL PROTECTED]> wrote: >>>>> "Chris" == Chris Fonnesbeck <[EMAIL PROTECTED]> writes: Chris> The thing is, I deleted my entire ~/.matplotlib directory, Chris> hoping to start clean. Where does matplotlib get its

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

2007-01-31 Thread Chris Fonnesbeck
lation. 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 no

[Matplotlib-users] subplot does not work in svn

2007-01-06 Thread Chris Fonnesbeck
appreciate any assistance. Thanks, Chris -- 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 get the chance to sh

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

2006-07-24 Thread Chris Fonnesbeck
lude -IC:\Python24\include -IC:\Py thon24\PC -c src/_tkagg.cpp -o build\temp.win32-2.4\Release\src\_tkagg.o" failed with exit status 1 However, I have Tk installed, as it comes bundled with ActiveState python. -- Chris Fonnesbeck + Atlanta, GA + http://trichech.us --

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

2006-07-24 Thread Chris Fonnesbeck
gw32 compiler without those lines, it appears. I used the --compiler switch on the build, but to no avail. I'm a bit stuck here, as matplotlib does not build, and the binary does not seem to work. I'm trying to put together a package that contains numpy, matplotlib and scipy to distribute to

[Matplotlib-users] Missing dll in windows build 0.87.4

2006-07-22 Thread Chris Fonnesbeck
Interval, Bbox, Affine  File "c:\python24\lib\site-packages\matplotlib-0.87.4-py2.4-win32.egg\matplotl ib\_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