On Wed, Feb 23, 2011 at 10:52 PM, Mark Janikas <mjani...@esri.com> wrote:

>  Hello All,
>
>
>
> Is there a way to add HTML links into output graphics?  In short, I would
> like to use something like the PLT.text command and have it link to an html
> page.  The url arg doesn’t seem to be what I am looking for.
>
>
>
> My final output medium is PDF… so I am using:
>
>
>
> from matplotlib.backends.backend_pdf import PdfPages as PDF
>
> import matplotlib.pyplot as PLT
>
>
>
>
>
> pdfOutput = PDF(fileName)
>
> PLT.text(“Some Text to Link”, url = “http:…”)
>
> …
>
> …
>
> PLT.savefig(pdfOutput, format='pdf')
>
> PLT.clf()
>
>
>
>
>
> Thanks so much for any advise!
>
>
>
> MJ
>
>
Looks like the url string is only used for SVG files.  If you could, please
file a feature request to have it added to the pdf backend:

https://sourceforge.net/tracker/?group_id=80706

Ben Root
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to