There isn't a way to do this in matplotlib itself -- none of the text 
matplotlib draws is interactive and selectable etc.

However, if you're embedded matplotlib in a wxPython GUI, you could 
stick a wxPython text widget underneath the plotting canvas and put 
whatever text you need there.  The details of that are more of a 
wxPython issue than a matplotlib one -- but you can see a number of 
examples of embedding matplotlib inside of a wxPython GUI here:

http://matplotlib.sourceforge.net/examples/user_interfaces/index.html

Cheers,
Mike

Stefanie Lück wrote:
> Hello!
>  
> I'm new to matplotlib and want to draw a line chart. Everythings works 
> fine with the great matplotlib. Now my question:
> I would like to draw under the diagramm a text, which can be 
> selected and copied. Is this possible? I guess the easiest way is to 
> do it over a GUI (I'm using wxPython). Please let me now if there's 
> another (easier) way!
>  
> Kind regards
> Stefanie
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image 
> processing features enabled. http://p.sf.net/sfu/kodak-com
> ------------------------------------------------------------------------
>
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to