With the sample code below, in matplotlib 1.3.1, the Text are placed at top
left,
which is like the docs said,
"/If a ‘points’ or ‘pixels’ option is specified, values will be added to the
bottom-left and if negative, values will be subtracted from the top-right/".
http://matplotlib.org/api/text_api.html
<http://matplotlib.org/api/text_api.html#matplotlib.text.Annotation>  
but in matplotlib 1.4.2, the Text showed at bottom. 
Is it a bug here?

#sample code:
import matplotlib.pyplot as plt
fig = plt.figure(1, figsize=(8,5))
ax=fig.add_subplot(1,1,1)
ax.annotate('somthing', (8, -8),
            xycoords='axes points', va="top", ha='left', 
            size=10, color='r')
plt.show()



--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/ax-annotate-in-1-4-2-behave-different-from-1-3-1-tp44229.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to