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
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
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
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
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
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
--
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
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
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
-
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
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
-
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
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
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
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
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
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
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
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.
---
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,
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
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
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
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
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
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
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
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
--
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
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
30 matches
Mail list logo