Re: [Matplotlib-users] Annotation add_artist bug

2008-08-19 Thread Tony S Yu
On Aug 19, 2008, at 11:37 AM, Ben Axelrod wrote: When I try using axes.add_artist() to add an Annotation object, it does not work. Adding a Text object in this manner works fine. Shouldn’t Annotation also work since it inherits from Text? The sample code below demonstrates. I am using

[Matplotlib-users] Annotation add_artist bug

2008-08-19 Thread Ben Axelrod
When I try using axes.add_artist() to add an Annotation object, it does not work. Adding a Text object in this manner works fine. Shouldn't Annotation also work since it inherits from Text? The sample code below demonstrates. I am using version 0.98.3. from matplotlib.pyplot import figure,