On Thu, Nov 13, 2008 at 10:38 PM, John [H2O] <[EMAIL PROTECTED]> wrote:
>
> Hello, using matplotlib 0.98 with mpl_toolkit Basemap:
>
> I'm trying to create a plot with a series of ellipses over a map. I've
> followed the tutorial, and can create the same figure as shown here:
> http://matplotlib.sourceforge.net/users/screenshots.html#ellipses
>
> I can also create a series of ellipses over a map.
>
> Now I am trying to label each circle using the following snippet:
> for item in ells:
>    #ells is now a tuple in the form: (Ellipse, (x,y)) and (x,y) is the same
> as for the Ellipse
>     e = item[0]
>     xy = item[1]
>     ax.add_artist(e)
>     e.set_clip_box(ax.bbox)
>     e.set_alpha(.7)
>     pyplot.text(xy[0],xy[1],e.get_label())
>
> however, for some reason it fails. Can someone provide some ideas on what I
> am doing wrong? Also, is there more direct way to set the plots so that the
> labels are drawn?

Can you post a complete, free-standing example script which replicates
the problem and also the output of the script run with
--verbose-debug?  See

  
http://matplotlib.sourceforge.net/faq/troubleshooting_faq.html#report-a-problem

JDH

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to