ython3.5/site-packages/numpy/core/numeric.py in asarray(a,
> dtype, order)
> 472
> 473 """
> --> 474 return array(a, dtype, copy=False, order=order)
> 475
> 476 def asanyarray(a, dtype=None, order=None):
>
> TypeError: float() argument must
be a string or a number, not
'Histogram'
-- Original --
From: "Tamas Nepusz";<nta...@rmki.kfki.hu>;
Date: Sun, Sep 18, 2016 03:45 AM
To: "Help for igraph users"<igraph-help@nongnu.org>;
Subject: Re: [igraph] how to plot deg
> dd = g.degree_distribution()
> dd.__plot__("dd",(800,800),None)
__plot__ is an internal function; you are not supposed to call it
directly. Call the plot() function instead:
>>> dd = g.degree_distribution()
>>> plot(dd)
or, if the plot is not shown automatically, then:
>>> plot(dd).show()