[graph-tool] graph_draw clipping issues

Tiago de Paula Peixoto tiago at skewed.de
Sun Feb 5 16:55:00 CET 2017

On 27.01.2017 01:49, Steve wrote:
> I've tried fit_view options and rescaling pos by hand, all to no avail.

Strange, since fit_view should be able to do exactly what you want.

With your example, I can make the drawing fit the window with:

   gt.graph_draw(g,pos=pos,vertex_text=g.vertex_index, fit_view=.5)

Tiago de Paula Peixoto <tiago at skewed.de>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.skewed.de/pipermail/graph-tool/attachments/20170205/55db67eb/attachment.asc>

More information about the graph-tool mailing list