So I have a graph and I draw this graph to a PDF using this command:
graph_draw(G_Sub, vertex_fill_color=pr, vertex_size=prop_to_size(pr, mi
...: =5, ma=15), vorder=pr, vcmap=matplotlib.cm.gist_heat, output="G_Sub_pr.
...: pdf", vertex_text=G_Sub.vp['name'], vertex_font_size=0.5)
Now, I want the colorbar used to generate node colors to be plotted next to the graph. Is there a way to do this in graph-tool?