[graph-tool] How to increase canvas size?

Ryan Compton compton.ryan at gmail.com
Sun Jun 21 22:22:10 CEST 2015


Any advice on building from the git repo for python 3? Here's what I get
(ubuntu 14.04):

$ export PYTHON=/usr/bin/python3
$ export PYTHON_VERSION=3.4
$ make clean
$ ./configure --enable-openmp
$ make
$ sudo make install
$ ipython

Python 3.4.0 (default, Apr 11 2014, 13:05:11)
Type "copyright", "credits" or "license" for more information.

IPython 3.1.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: import graph_tool
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-233a11917947> in <module>()
----> 1 import graph_tool

/usr/lib/python3/dist-packages/graph_tool/__init__.py in <module>()
    100
    101 from .dl_import import *
--> 102 dl_import("from . import libgraph_tool_core as libcore")
    103 __version__ = libcore.mod_info().version
    104

/usr/lib/python3/dist-packages/graph_tool/dl_import.py in
dl_import(import_expr)
     55
     56     try:
---> 57         exec(import_expr, local_dict, global_dict)
     58     finally:
     59         sys.setdlopenflags(orig_dlopen_flags)  # reset it to normal
case to

/usr/lib/python3/dist-packages/graph_tool/__init__.py in <module>()

ImportError: /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.54.0:
undefined symbol: PyClass_Type



On Sun, Jun 14, 2015 at 2:58 PM, Tiago de Paula Peixoto <tiago at skewed.de>
wrote:

> On 27.05.2015 22:31, Tiago de Paula Peixoto wrote:
> > On 19.05.2015 07:46, Ryan Compton wrote:
> >> I'm having trouble with my vertex text running off the edge of the
> canvas.
> >>
> >> For an example see:
> >>
> http://ryancompton.net/assets/darknet-market-basket-analysis/evo_market_labeled_new_1024.png
> >>
> >> I got the impression that "fit_view" with a float would scale things
> >> properly but it does not seem to change anything.
> >
> > Indeed there seems to be a bug with the fit_view option. I'll provide a
> fix.
>
> I've finally fixed this now in git.
>
> Best,
> Tiago
>
> --
> Tiago de Paula Peixoto <tiago at skewed.de>
>
>
> _______________________________________________
> graph-tool mailing list
> graph-tool at skewed.de
> http://lists.skewed.de/mailman/listinfo/graph-tool
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.skewed.de/pipermail/graph-tool/attachments/20150621/f7c380ba/attachment.htm>


More information about the graph-tool mailing list