tetime import datetime", thus importing the
datetime type from that library. If your first version is working,
change the second version to use the same import.
--
Brendan Barnwell
"Do no
approximates
what it is you're trying to illustrate with the graph.
--
Brendan Barnwell
"Do not follow where the path may lead. Go, instead, where there is no
path, and leave a trail."
--author unknown
---
sed positionally. (In Python
3 there are keyword-only arguments, and even in Python 2 the variadic
**kwargs syntax collects only keyword arguments, but those aren't
involved as far as the "frame" argument here is concerned.)
--
Brendan Barnwell
"Do not follow where
e.
> I'm new to Python, and am a loss as to how to install "matplotlib"!
> Please Help !!
Well, one thing is that an installer with "cp32" in the filename is for
Python 3.2. For Python 3.4 you need the one that says "cp34".
--
Brendan Barnwe
ew.html#the-nbagg-backend it says:
"Phil Elson added a new backend, named “nbagg”, which enables
interactive figures in a live IPython notebook session." The word
"interactive" certainly could lead people to believe that the backend
is, in fact, interactive.
--
Brendan Ba
that there are empty bins between
each of the other bars. How are you setting the bins? You could try
adjusting the bin boundaries.
--
Brendan Barnwell
"Do not follow where the path may lead. Go, instead, where there is no
path, and leave a trail.&q
ch and found numerous
old-style classes throughout MPL. Is there any reason for this?
--
Brendan Barnwell
"Do not follow where the path may lead. Go, instead,
would be keyboard shortcuts for
the toolbar tools, so that zoom could be activated/deactivated without
moving the mouse.
--
Brendan Barnwell
"Do not follow where the path may lead. Go, instead, where there is
no path, and
about the normal Python interpreter, not IPython.
--
Brendan Barnwell
"Do not follow where the path may lead. Go, instead, where there is
no path, and leave a trail."
--author unknown
--
Infragistics Professi
er()
x = t
del t
Then the object's __del__ will definitely not be called yet. It makes
sense to have a way to stop the timer directly, regardless of how many
names are pointing to it.
--
Brendan Barnwell
"Do not follow where the path may le
u can set the edgecolor equal to the string 'face' to make
it use the facecolor.
--
Brendan Barnwell
"Do not follow where the path may lead. Go, instead, where there is
no path, and leave a trail."
--author unknown
-
iginal post). You should be able to fix the aspect ratio of the
*axes* and also the dimensions of the *figure*, and let the slack be
taken up by blank space around the axes. It would still be possible
for the dimensions of the axes box to change, just not their aspect
ratio (i.e., zooming in on an obl
ure (as suggested in the
original post). You should be able to fix the aspect ratio of the
*axes* and also the dimensions of the *figure*, and let the slack be
taken up by blank space around the axes. It would still be possible
for the dimensions of the axes box to change, just not their asp
tch-all way is even more unpythonic. There are lots of things
you might want to do to an MPL object, and we shouldn't elevate
attribute get/set as the "main one" that should be accessed by the
call syntax.
That MEP would be great, though!
--
Brendan Barnwell
Agg-td39110.html
), but there was no real answer: the poster just decided not to use
WxAgg. But aren't we really supposed to be able to use WxAgg
interactively?
Thanks,
--
Brendan Barnwell
"Do not follow where the path may lead. Go, instead, where there is
no path, and leave a trai
, but even handling it without that
wrinkle would be a start.
Thanks,
--
Brendan Barnwell
"Do not follow where the path may lead. Go, instead, where there is
no path, and leave a trail."
--author unknown
-
a
negative *r-coordinate* is a perfectly mathematically respectable
notion with a standard interpretation. Moreover, it is actually
useful when you want to graph some things, and is supported by other
plotting software (see, e.g.,
http://www.wolframalpha.com/input/?i=polar+plot+r%3Dtheta%2C-p
tewart/mathweb/math127/intro_polar/intro_polar.htm
and an MIT Opencourseware document at
http://ocw.mit.edu/resources/res-18-001-calculus-online-textbook-spring-2005/study-guide/MITRES_18_001_guide9.pdf.
Matplotlib shouldn't raise an error on negative r, it should just
interpr
code that
I pointed to in _process_levels is setting vmin and vmax. It's
possible this isn't the root of the problem, but the code certainly
looks strange and unmotivated, and it is what's causing incorrect clim
to be set.
--
Brendan Barnwell
"Do not follow where the path may
cs.set_clim(50, 210)
cb = pyplot.colorbar(cs)
But why do I have to do this? The whole reason I passed in my
specified levels was because I wanted THOSE to be the data limits.
Why is matplotlib expanding the data limits, and thus preventing me
from specifying the "out of range&qu
r libs that provide a simpler interface
(like I guess this Canvas thing you mentioned) could be useful for
getting around that.
--
Brendan Barnwell
"Do not follow where the path may lead. Go, instead, where there is
no path, and leave a trail."
--author unknown
inds of arrows when
the text is too close to the annotated point.
Any ideas?
Thanks.
--
Brendan Barnwell
"Do not follow where the path may lead. Go, instead, where there is
no path, and leave a trail."
--author unknown
---
would be a common task, so I'm wondering if there's a
function for it, or, failing that, a standard recipe.
Thanks,
--
Brendan Barnwell
"Do not follow where the path may lead. Go, instead, where there is
no path, and leave a trail.&q
hile back this caused me a lot of headache, for the
reasons Tony Yu mentioned: it means you have to draw everything
multiple times. It would really help if it were possible to specify
objects' parameters and get their sizes without drawing them.
-- Brendan Barnwell
"Do not follow where the path
"required". Good thing I read this message! :-)
> The interface should create the figure objects, the figure objects should
> create the axes objects, the axes objects should create the axis objects,
> and so on and so forth.
That makes perfect sense, but is not at all
support some animation, I think
>> you 'd better turn to another tool if you need an efficiency,
Maybe so. What tool would you recommend for animated plots?
Best wishes,
-- Brendan Barnwell "Do not follow where the path may lead. G
Brendan Barnwell wrote:
> I'm trying to find the quickest way to erase a rectangular area of
> the figure canvas. I tried using canvas.restore_region with the
> optional bbox argument, but there seems to be some mismatch between
> the measurement units of the saved buff
them elsewhere? That's what I'm
trying to do here.
Thanks,
--
Brendan Barnwell
"Do not follow where the path may lead. Go, instead, where there is
no path, and leave a trail."
--author unknown
--
SOLA
the blank. This way items that were nowhere near any change wouldn't
need to be redrawn.
Is this feasible? Is there a standard way to go about this? Is
there any way to figure out which artists overlap without looping over
the list of all artists and checking the bbox boun
Brendan Barnwell wrote:
> Hi,
>
> I decided to upgrade to matoplotlib 0.99.1. I'm on Windows XP. I
> downloaded matplotlib-0.99.1.win32-py2.5.exe and ran it. It seemed to
> install. Now when I try "from matplotlib import pyplot", Python
> crash
fix this problem?
Thanks,
--
Brendan Barnwell
"Do not follow where the path may lead. Go, instead, where there is
no path, and leave a trail."
--author unknown
--
Throughout its 18-year history, RSA Conferenc
dle
datetime
objects itself? The requirement of having to manually convert them to an
ad-hoc
matplotlib "format" (which is just an integer) seems rather obtuse.
--
--Brendan Barnwell
"Do not follow where th
Stefan van der Walt wrote:
> On Thu, Aug 17, 2006 at 09:48:58PM -0700, Brendan Barnwell wrote:
>> [I accidentally sent this message privately to the sender before. . . why
>> doesn't this list set the Reply-To header to the list?]
>
> I don't think mailing l
[I accidentally sent this message privately to the sender before. . . why
doesn't this list set the Reply-To header to the list?]
Darren Dale wrote:
>> On Wednesday 16 August 2006 02:26, Brendan Barnwell wrote:
>
>>>>Hi, I'm trying to get matplotlib to giv
to NEVER
overlap
lines? I'm rather surprised that there seems to be no way to guarantee this,
since it seems like an obvious thing to want, and also since there seem to be a
bunch of requests for it on the mailing list.
Thanks for the help.
--
--Brendan Barnwell
"Do
35 matches
Mail list logo