Again, the problem with the sample you supply is that you are making 2-D
arrays where what you need are 1-D arrays. Simply flattening y and pred
before using them makes the script work fine, as attached. Or make them
1-D in the first place.
Eric
Giorgio Luciano wrote:
Thanks to all for
Brent == Brent Fillery [EMAIL PROTECTED] writes:
Brent Hi All
Brent I am new to Matplotlib, and was wondering if anybody knew
Brent of an easy way to construct a dropline from a data point in
Brent a plot to the x axis, i.e. a vertical line from (x1,y1) to
Brent (x1,0)?
Piter == Piter [EMAIL PROTECTED] writes:
Piter Hi all. I am new user of matplot-lib and Python. I try to
Piter find replacement for matlab. Now I use Debian-testing but
Piter my experience with it is little. I have reinstalled system
Piter few days ago and matplotlib is not
Fabian == Fabian Braennstroem [EMAIL PROTECTED] writes:
I am trying to install matplotlib 0.87.7 with my newly separate
installed python 2.5. For this I installed 'pygtk 2.4.1' and
numpy 1.0 using this python 2.5 installation. Now, running
'python2.5 setup.py build' I get
Piter_ wrote:
If I start python (2.3).
from pylab import *
plot([1,2,3])
nothing happens.
what if you then type:
show()
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329
I've been profiling some of my code which builds many somewhat complex
graphs. I've noticed that it spends almost all it's time in the
__init__ of the artist class. The time there is almost entirely spent
on calling identity_transform which builds a SeperableTransform that
does no
Eric == Eric Emsellem [EMAIL PROTECTED] writes:
Eric Hi, I am trying to overplot symbols on a region filled (with
Eric pale grey color) between two curves. For some reason the
Eric filled region is always ON TOP of the symbols so that I
Eric don't see them..
Eric (I wanted
John Hunter wrote:
I'm hesitant to make a single (shared) identity transform since
transforms are mutable.
Couldn't you make one that was immutable (is that possible in Python)?
Or even just have a convention that you don't mutate the identity
transform (though it could be way to late for
John, Tom,
I don't understand how generation of the identity transform for each
Artist instance could possibly be a significant overall slowdown; it
should be very fast, and only a small part of the time required to
actually do anything useful with an Artist instance. I am wondering
whether
Christopher == Christopher Barker [EMAIL PROTECTED] writes:
Christopher This sounds like a job for properties! make
Christopher _transform a property, and code that gets and sets it
Christopher directly should still work. though People that were
Christopher accessing an
10 matches
Mail list logo