On Fri, May 15, 2009 at 5:16 PM, Jae-Joon Lee wrote:
> Attached is a patch that I want to commit to the trunk.
> It introduces new attribute "_check_contains" (any name suggestion?)
I'm not keen on the name either -- something more explicit would be
better. Maybe, set_annotation_clip or somethin
Christopher Barker wrote:
> Christopher Barker wrote:
>> Hi all,
>>
>> I've been messing with quiver a bit, and have some confusions:
>
> one more issue with quiver -- autoscaling fails if there is a NaN in the
> data:
>
I just committed a change to ensure that nans and infs are treated as
mas
On Fri, May 15, 2009 at 4:24 PM, Jae-Joon Lee wrote:
> It may be doable, depending on what you exactly want.
> For example
>
> http://dl.getdropbox.com/u/178748/AxesGrid/htdocs/users/overview.html#rgb-axes
>
> But my emphasis was on displaying images, and may not be suitable for
> general axes.
Christopher Barker wrote:
> Hi all,
>
> I've been messing with quiver a bit, and have some confusions:
No, you hit a bug. Thanks for the report and test script. It is fixed
in r7103.
If you are not running from svn, a workaround may be to specify the
angles as an ndarray or masked array with
Christopher Barker wrote:
> Hi all,
>
> I've been messing with quiver a bit, and have some confusions:
one more issue with quiver -- autoscaling fails if there is a NaN in the
data:
x = (1,2)
y = (1,2)
u = (2,2)
v = (-2,2)
fig = plt.figure(1)
fig.clear()
ax = fig.add_subplot(2,2,3)
# fail
RTFM:
plot(t,y, drawstyle='steps-post')
This was really helpful:
http://matplotlib.sourceforge.net/examples/pylab_examples/set_and_get.html
especially
>>> line, = plot([1,2,3])
>>> setp(line, linestyle='--')
On Fri, May 15, 2009 at 6:52 PM, Ryan Krauss wrote:
> Oh, and in case it matters
Oh, and in case it matters I am running
In [36]: matplotlib.__version__
Out[36]: '0.98.5.2'
on Ubuntu 9.04 (with the rather lame name of Jaunty Jackolope).
On Fri, May 15, 2009 at 6:51 PM, Ryan Krauss wrote:
> I think I used to use plot with linestyle='steps' to plot data for
> zero-order hold
Hi all,
I've been messing with quiver a bit, and have some confusions:
according to the docs:
"""
units: [‘width’ | ‘height’ | ‘dots’ | ‘inches’ | ‘x’ | ‘y’ ]
arrow units; the arrow dimensions except for length are in
multiples of this unit.
"""
and yes, when I change units from 'do
Attached is a patch that I want to commit to the trunk.
It introduces new attribute "_check_contains" (any name suggestion?)
for Annotation class.
* True : the annotation will only be drawn when self.xy is
inside the axes.
* False : the annotation will always be drawn regardles
>
> Exploring in this area is definitely a good thing. I kind of like this
> proposal and along those lines, I would love to be able to *easily* create a
> subplot that occupies 2/3 of a figure in each direction, surrounded by a
> bunch of smaller panels that each occupy 1/3. I know Jae-Joon has
Sandro Tosi wrote:
mpl.ticker.AutoDateLocator
mpl.ticker.AutoDateFormatter
Where might I find these now? They don't seem to be in matplotlib.ticker
or matplotlib.date. do they have a new name? Is there a new way to get
automatic date tic location and formating?
dates.AutoDateFormatter dates.
On Fri, May 15, 2009 at 2:48 PM, Alan G Isaac wrote:
> E.g., ax = fig.subplot2grid(shape=(5,1), loc=(0,3)).
It would be good if we can (optionally) specify a location as ranges
in each direction so that the axes can occupy not just a single cell
of the grid but can spans multiple cells, similar t
I had a similar issue and this thread mostly solved it, save for one
remaining bug.
If I also call a different module in my main program that does the plotting
in MPL, and then I modify that module, then when I try to run it again in
ipython it acts as if the module I imported has not been change
Hi Chris,
On Fri, May 15, 2009 at 21:29, Christopher Barker wrote:
> Hey folks,
>
> IN old mailing list messages, I see reference to:
>
> mpl.ticker.AutoDateLocator
> mpl.ticker.AutoDateFormatter
>
>
> Where might I find these now? They don't seem to be in matplotlib.ticker
> or matplotlib.date.
Hey folks,
IN old mailing list messages, I see reference to:
mpl.ticker.AutoDateLocator
mpl.ticker.AutoDateFormatter
Where might I find these now? They don't seem to be in matplotlib.ticker
or matplotlib.date. do they have a new name? Is there a new way to get
automatic date tic location and
On Fri, May 15, 2009 at 1:48 PM, Alan G Isaac wrote:
> On 5/15/2009 1:57 PM Ryan May apparently wrote:
> > I'm not sure if I like the idea of changing
> > the API or not, but if you're suggesting
>
> I'm less suggesting any particular solution
> than suggesting exploring for a solution.
>
> For e
On 5/15/2009 1:57 PM Ryan May apparently wrote:
> I'm not sure if I like the idea of changing
> the API or not, but if you're suggesting
I'm less suggesting any particular solution
than suggesting exploring for a solution.
For example, maybe pylab.subplot could use
the current convention, but py
On Fri, May 15, 2009 at 12:41 PM, Alan G Isaac wrote:
> I love Matplotlib.
>
> That said, I find the indexing subplots to be an annoyance,
> because it uses MATLAB conventions rather than Python
> conventions for indexing. I think moving this convention
> into the OO API was a mistake.
>
> Since
I love Matplotlib.
That said, I find the indexing subplots to be an annoyance,
because it uses MATLAB conventions rather than Python
conventions for indexing. I think moving this convention
into the OO API was a mistake.
Since Matplotlib is not yet 1.0,
I am suggesting that this be "fixed".
I un
On Fri, May 15, 2009 at 10:59 AM, kevin gill wrote:
> How do I make the left chart display right to left instead of the
> default left to right?
adjust your xlim in a way that xmax is 0, i.e., xlim(10, 0).
-JJ
--
Crysta
On Fri, May 15, 2009 at 9:59 AM, kevin gill wrote:
> I am a matplotlib newbie. I am trying to create a Population Pyramid
> chart, see examples here.
>
> http://bm2.genes.nig.ac.jp/RGM2/R_current/library/epicalc/man/pyramid.html
>
> I am trying to draw this as two horizontal bar charts (barh) back
I am a matplotlib newbie. I am trying to create a Population Pyramid
chart, see examples here.
http://bm2.genes.nig.ac.jp/RGM2/R_current/library/epicalc/man/pyramid.html
I am trying to draw this as two horizontal bar charts (barh) back to back.
How do I make the left chart display right to left
On Fri, May 15, 2009 at 6:41 AM, Bala subramanian
wrote:
> Friends,
> I have a data like the following. I dnt want to plot the data literally as
> shown below. I want to define a color red for 0, blue for 1 and yellow for
> 2. Each color represents the properly of the y-values. I want to define
>
Friends,
I have a data like the following. I dnt want to plot the data literally as
shown below. I want to define a color red for 0, blue for 1 and yellow for
2. Each color represents the properly of the y-values. I want to define
colors for values and monitor the color changes with time. I check
Thanks! As far as I can tell, this works perfectly.
I agree that this should probably be the default behaviour.
Ben
On Thu, May 14, 2009 at 8:03 PM, Jae-Joon Lee wrote:
> On Thu, May 14, 2009 at 4:36 AM, Ben Coppin wrote:
>> Hi,
>>
>> I've added annotations to a graph I am producing using matp
25 matches
Mail list logo