[graph-tool] Colorbar in graph-tool
Tiago de Paula Peixoto
tiago at skewed.de
Wed Feb 8 10:47:12 CET 2017
On 08.02.2017 06:50, Snehal Shekatkar wrote:
> 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?
You can plot inside a matplotlib figure (see the mplfig parameter to
graph_draw) and then draw a colorbar using matplotlib.
Tiago de Paula Peixoto <tiago at skewed.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the graph-tool