|
From: Kurt F. <kur...@ho...> - 2010-01-21 14:37:34
|
> From: lee...@gm...
> Date: Wed, 20 Jan 2010 17:35:21 -0500
> Subject: Re: [Matplotlib-users] Annotate Behaviour - Arrows Missing
> To: kur...@ho...
> CC: mat...@li...
>
> On Wed, Jan 20, 2010 at 3:07 PM, Kurt Forrester
> <kur...@ho...> wrote:
> > the output from the script is:
> >
> > annotation_clip = None
> > checking is point is inside the axes : [ 30.875 233. ]
> > contains_point = 0
> > _check_xy returning False
> > exit without drawing due to annotation_clip
> >
> >
>
> Weird.
> How about this one?
>
> fig = figure()
> ax=subplot(111)
> txt = ax.annotate("Test", (-0.1, 0.5), annotation_clip=False)
> print txt.get_annotation_clip()
>
> If it still print out None, see if the next code make any difference.
>
> fig = figure()
> ax=subplot(111)
> txt = ax.annotate("Test", (-0.1, 0.5))
> txt.set_annotation_clip(False)
> print txt.get_annotation_clip()
>
>
> -JJ
The first one reported None.
The second one reported False.
Kurt
_________________________________________________________________
Time for a new car? Sell your old one fast!
http://clk.atdmt.com/NMN/go/157637060/direct/01/ |