On Mon, Nov 28, 2011 at 10:49 PM, Jae-Joon Lee wrote:
> This is a bug. In the current implementation, "annotate" has a
> side-effect that modifies the arrowprops dictionary.
For a future reference, this should now be fixed in the v1.1.x branch
which also has been merged into the master branch.
h
> This is a bug. In the current implementation, "annotate" has a
> side-effect that modifies the arrowprops dictionary.
> As a workaround, you may do,
>
> arrowprops = dict(arrowstyle='-', relpos=(0, 1))
> plt.annotate('Good relpos', (3, 3), xytext = (3, 2),
>
annotation_clip=False, ar
On Mon, Nov 28, 2011 at 9:39 PM, Markus Baden wrote:
> anno_args = {
> 'annotation_clip': False,
> 'arrowprops': dict(arrowstyle='-', relpos=(0, 1)),
> }
> plt.annotate('Good relpos', (3, 3), xytext = (3, 2), **anno_args)
> plt.annotate('Bad relpos', (6, 6), xytext = (6, 5), **anno_arg
Hi list,
I'm trying to annotate points on a graph by drawing a simple line from the
point on the axis to the top left corner of the text. I can't figure out,
how to use pyplot.annotate so that it turns of the arrow head and I can use
horizontalalignment (ha) and verticalalignment (va). When I use