... | ... | @@ -10,17 +10,17 @@ docker run -it tiagopeixoto/graph-tool ipython |
|
|
```
|
|
|
which will give you a Python 3 environment with `graph-tool` installed:
|
|
|
```
|
|
|
Python 3.6.0 (default, Jan 16 2017, 12:12:55)
|
|
|
Python 3.6.2 (default, Jul 20 2017, 03:52:27)
|
|
|
Type "copyright", "credits" or "license" for more information.
|
|
|
|
|
|
IPython 5.1.0 -- An enhanced Interactive Python.
|
|
|
IPython 5.3.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]: from graph_tool.all import *
|
|
|
In [2]:
|
|
|
In [2]:
|
|
|
```
|
|
|
|
|
|
If you want to use interactive visualization from within docker, you have first to enable local connections to the X server:
|
... | ... | |