errors after plotting an empty graph
from gi.repository import Gtk
from graph_tool.all import *
empty_g = Graph()
graph_draw(empty_g)
once clicked on the plot window, following errors appear:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/graph_tool/draw/gtk_draw.py", line 657, in button_press_event
self.init_picked()
File "/usr/lib/python2.7/dist-packages/graph_tool/draw/gtk_draw.py", line 639, in init_picked
self.vertex_matrix = VertexMatrix(self.g, self.pos)
File "/usr/lib/python2.7/dist-packages/graph_tool/draw/gtk_draw.py", line 50, in __init__
self.update()
File "/usr/lib/python2.7/dist-packages/graph_tool/draw/gtk_draw.py", line 67, in update
x_range = [pos_x.fa.min(), pos_x.fa.max()]
File "/usr/lib/python2.7/dist-packages/numpy/core/_methods.py", line 21, in _amin
out=out, keepdims=keepdims)
ValueError: zero-size array to reduction operation minimum which has no identity
It seems to be in the initial selection. Thanks!