Thanks to visit codestin.com
Credit goes to github.com

Skip to content

textcords='axes fraction' does not work for some axes ranges #1311

Closed
@tacaswell

Description

@tacaswell

For some axes ranges, annotations will not be drawn

ax = gca()
ax.set_ylim([0,.3])
ax.annotate('.5',(.1,.5),textcoords='axes fraction' ,weight='bold',fontsize=14 )
ax.annotate('.1',(.1,.1),textcoords='axes fraction' ,weight='bold',fontsize=14 )
draw() # only .1 will show up
ax.set_ylxm([0,3])
draw() # both will show up

May be related to issues #1310 and #403

In [17]: matplotlib.version
Out[17]: '1.2.0rc2'

QT4Agg with PyQT4

edited to add links

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions