Matplotlib version: '0.87.2'
I'm getting the following error:
TypeError: unsupported operand type(s) for /: 'BinOp' and 'BinOp'
On the following line in finance.py
sy = (ax.bbox.ur().y() - ax.bbox.ll().y()) / (ax.viewLim.ur().y() -
ax.viewLim.ll().y())
Is this a know issue? Am I doing somethi
Stefan van der Walt wrote:
> On Tue, Jul 11, 2006 at 10:53:59PM -0400, Charlie Moad wrote:
>
>>2006-06-22 Added support for numerix 2-D arrays as alternatives to
>> a sequence of (x,y) tuples for specifying paths in
>> collections, quiver, contour, pcolor, transforms.
>>
On Wednesday 12 July 2006 10:12 pm, Till Wagner wrote:
> Hello,
>
> I'm having a problem with the legend in matplotlib.
> Sometimes the upper border of the legend goes throug
> the first line of text in the legend. Is there any
> chance to control the space between the text and the
> upper border t
Hello,
I'm having a problem with the legend in matplotlib.
Sometimes the upper border of the legend goes throug
the first line of text in the legend. Is there any
chance to control the space between the text and the
upper border to avoid this?
-- Till Wagner
Darren,
> As of svn 2560, the label will render over the left or right y-axis
> depending on the position of the ticks.
Sweet ! Thanks a lot !
And following your advice, I came up with the following solution to my problem
(forcing the mantissa to multiple of 3, with a given number of decimals).
On Wednesday 12 July 2006 7:19 pm, you wrote:
> Darren Dale wrote:
> > On Wednesday 12 July 2006 16:16, Mark Bakker wrote:
> >>I am following up on the discussion of passing a single 2D array to plot.
> >>Wouldn't it make more sense that, in Python array style,
> >>if you give it a single N x K arg
I found that using any of the non-GTK backends--like QTAgg or
WXAgg--caused show() to block and at stopped the thread issues. I am
not sure the implications of this, but it works for now. So I am
content at least for the moment.
Thanks,
Lane
John Pye wrote:
> Hi Lane,
>
> I don't have any a
Hi Lane,
I don't have any answers for you here, but I do wonder if you might
gains some insight on this by looking at the way IPython handles its
'-pylab' and '-gthread' etc flags?
Cheers
JP
Lane Brooks wrote:
>So my question is: what is the correct way to setup python and/or
>matplotlib when
Darren Dale wrote:
> On Wednesday 12 July 2006 16:16, Mark Bakker wrote:
>
>>I am following up on the discussion of passing a single 2D array to plot.
>>Wouldn't it make more sense that, in Python array style,
>>if you give it a single N x K argument you plot rows against the first row?
>
>
>
matplotlib+basemap may do it for you. I'm not sure how much of it's hard
coded for the Earth though...
http://www.scipy.org/Cookbook/Matplotlib/Maps
At 08:49 AM 7/12/2006, Jeff Sadino wrote:
>I am trying to map the surface of Saturn's largest moon, Titan for a
>summer research project. As a
Mark Bakker wrote:
>
> On the same token, it would be really nice if contour, pcolor and image
> take as an x and y argument not only a matrix but just a 1D row. This
> should be really easy and would be very useful.
contour already does this, and I agree that pcolor and pcolormesh
should. pco
On Wednesday 12 July 2006 09:49, Darren Dale wrote:
> Hello, um..., P.,
>
> On Wednesday 12 July 2006 03:43, PGM wrote:
> > Folks,
> > I need your wisdom about ticks labels on ordinates for large numbers
> > (>1e4). The default behavior I have (0.87.4) is to display tick labels as
> > "%.1f", and w
On Wednesday 12 July 2006 16:16, Mark Bakker wrote:
> I am following up on the discussion of passing a single 2D array to plot.
> Wouldn't it make more sense that, in Python array style,
> if you give it a single N x K argument you plot rows against the first row?
That's not the behavior I would h
I am following up on the discussion of passing a single 2D array to plot.Wouldn't it make more sense that, in Python array style, if you give it a single N x K argument you plot rows against the first row?
On the same token, it would be really nice if contour, pcolor and imagetake as an x and y arg
I am a newbie to python, numpy, and matplotlib, and I like what I have
seen so far. I have been wishing for a long time there was an open
alternative to matlab, and when I heard about numpy and matplotlib, I
tried them out immediately.
Anyway, I am running python embedded in a C++ WX app. I j
I am trying to map the surface of Saturn's largest moon, Titan for a summer
research project. As a rough draft, I would like to plot the temperature
(colored red) at the longitude(x) and latitude(y) coordinates. My data file is
tab delimited in three columns (x,y,T). I am also missing some x,
> "Gregory" == Gregory Piñero <[EMAIL PROTECTED]> writes:
Gregory> If correct here, I guess I locate the API in the user
Gregory> guide? Is there anything else I should be using as a
Gregory> reference?
http://matplotlib.sourceforge.net/faq.html#OO
http://matplotlib.sourceforge.
On 7/12/06, John Hunter <[EMAIL PROTECTED]> wrote:
> In a production app like a web application server generating graphics,
> often times you don't want any magic going on behind the hood, and
> pylab's stateful management of figures, the current figure, and the
> current axes grates on some people
On 7/12/06, John Hunter <[EMAIL PROTECTED]> wrote:
> "John" == John Hunter <[EMAIL PROTECTED]> writes:> "David" == David Grant <
[EMAIL PROTECTED]> writes:David> edges=[54, 76, 80, 100] stats=[5.423, 23.226, 4.1, 6.93]John> xticks(edges)Sorry, what I meant was something like xticks
> "David" == David Grant <[EMAIL PROTECTED]> writes:
David> Cool, yeah I think that will work just fine. I don't think
David> I saw xticks in the matplotlib PDF document I was looking
David> at. What's the best source of documentation?
help(pylab)
JDH
--
> "Gregory" == Gregory Piñero <[EMAIL PROTECTED]> writes:
Gregory> So my only remaining point of confusion is why wasn't the
Gregory> pylab interface used in the demo here:
Gregory> http://matplotlib.sourceforge.net/examples/webapp_demo.py
Gregory> Is it just a style choice?
So my only remaining point of confusion is why wasn't the pylab
interface used in the demo here:
> Gregory> http://matplotlib.sourceforge.net/examples/webapp_demo.py
Is it just a style choice?
-
Using Tomcat but need to
> "Gregory" == Gregory Piñero <[EMAIL PROTECTED]> writes:
Gregory> Hi guys, Is this possible? Specifically I'm trying
Gregory> implement something close to this example:
Gregory> http://matplotlib.sourceforge.net/examples/webapp_demo.py
Gregory> But would like to be able to u
Hi guys,
Is this possible? Specifically I'm trying implement something close
to this example:
http://matplotlib.sourceforge.net/examples/webapp_demo.py
But would like to be able to utilize code found in samples like this:
http://matplotlib.sourceforge.net/screenshots/pie_demo.py
Much thanks!
-
> "John" == John Hunter <[EMAIL PROTECTED]> writes:
> "David" == David Grant <[EMAIL PROTECTED]> writes:
David> edges=[54, 76, 80, 100] stats=[5.423, 23.226, 4.1, 6.93]
John> xticks(edges)
Sorry, what I meant was something like
xticks(range(len(edges)), ['%d'%edge for edge in
> "David" == David Grant <[EMAIL PROTECTED]> writes:
David> edges=[54, 76, 80, 100] stats=[5.423, 23.226, 4.1, 6.93]
xticks(edges)
perhaps?
Or maybe I still don't understand.
A complete script might help...
JDH
--
On 7/12/06, John Hunter <[EMAIL PROTECTED]> wrote:
> "David" == David Grant <[EMAIL PROTECTED]> writes:David> Anyone know what happened toDavid> matplotlib.ticker.IndexFormatter
? Is there are replacementDavid> for it?I don't know -- I don't see anything in the changelog or in the s
On Wed, 12 Jul 2006, Eric Firing apparently wrote:
> In the single-argument NxK case, I think matlab plots
> subsequent columns against the first column. Is this what
> you would like?
Yes.
Cheers,
Alan Isaac
-
Usin
Alan G Isaac wrote:
> On Wed, 12 Jul 2006, Stefan van der Walt apparently wrote:
>
>>It would be useful to have plot accept a 2-D array as well. Would
>>patches for this be considered, or is there some reason why this can't
>>work? At the moment, doing
>>P.plot(z) where z is Nx2
>
>
> If
> "David" == David Grant <[EMAIL PROTECTED]> writes:
David> Anyone know what happened to
David> matplotlib.ticker.IndexFormatter? Is there are replacement
David> for it?
I don't know -- I don't see anything in the changelog or in the svn
log. What did it do, and what version of m
Anyone know what happened to matplotlib.ticker.IndexFormatter? Is there are replacement for it?-- David Grant
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrat
> "Michael" == Michael <[EMAIL PROTECTED]> writes:
Michael> Hi, I'm new to matplotlib and am very impressed!
Thanks!
Michael> I have a beginner type question:
Michael> In interactive mode (using the GtkAgg backend) I'll plot
Michael> multiple lines on a single subplot. The
Hello, um..., P.,
On Wednesday 12 July 2006 03:43, PGM wrote:
> Folks,
> I need your wisdom about ticks labels on ordinates for large numbers
> (>1e4). The default behavior I have (0.87.4) is to display tick labels as
> "%.1f", and write a string "x1e+..." above the top left corner of the
> curre
On Wed, 12 Jul 2006, Stefan van der Walt apparently wrote:
> It would be useful to have plot accept a 2-D array as well. Would
> patches for this be considered, or is there some reason why this can't
> work? At the moment, doing
> P.plot(z) where z is Nx2
If 2-D is allowed,
I hope N×K is al
Hi,
I'm new to matplotlib and am very impressed!
I have a beginner type question:
In interactive mode (using the GtkAgg backend) I'll plot multiple
lines on a single subplot. The output got clutterred so I was looking
for a pylab command to remove one of the plot lines but could not find
any e
The modules have been imported into the matplotlib repository, and
they are semi-functional. They still need a lot of work though.
There is a new example, simple3d_oo.py.
- Charlie
On 7/11/06, imcs ee <[EMAIL PROTECTED]> wrote:
> what about the mplot3d. (http://www.scipy.org/Cookbook/Matplotlib/
On Tue, Jul 11, 2006 at 10:53:59PM -0400, Charlie Moad wrote:
> 2006-06-22 Added support for numerix 2-D arrays as alternatives to
>a sequence of (x,y) tuples for specifying paths in
>collections, quiver, contour, pcolor, transforms.
>Fixed contour bug involving
Folks,
I need your wisdom about ticks labels on ordinates for large numbers (>1e4).
The default behavior I have (0.87.4) is to display tick labels as "%.1f", and
write a string "x1e+..." above the top left corner of the current axes.
- When using "yaxis.tick_right()", the "x1e..." string stays a
38 matches
Mail list logo