Erik Tollerud wrote:
> I'm curious if anyone knows a good way to embed pydot
> (http://code.google.com/p/pydot/) graphs (or really, any
> graphviz-style graphs) inside matplotlib somehow.  I could easily
> write out a png or something from pydot and then imshow it, but that
> seems very kludgy.  Is there some way to load svg or other vector data
> into matplotlib to be shown inside a figure?
Unfortunately not.  It is possible to cut-and-paste graphviz SVG into a 
matplotlib SVG using Inkscape, but that's fairly kludgy also and can't 
be automated.

It would be nice to have a graphviz importer for matplotlib (something 
that would convert a dot stream to matplotlib artists), but that's a 
mid-sized development effort...  It wouldn't consider it extremely 
difficult, but it would need someone to step up to implement it.

Mike

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


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to