Colorbar in graph-tool

Dear Tiago,

I am trying to draw a graph in which edges have some property of type
float. I am coloring the edges using these float values. Now, I want to
show a colorbar on the side of the graph which would give idea of these
values on the edges. Is this possible in any way?

Thank you
Snehal

attachment.html (564 Bytes)

You can plot inside a matplotlib figure (see the mplfig parameter to
graph_draw) and then draw a colorbar using matplotlib.