diff --git a/setup.py b/setup.py index cd8f3b5..252c29a 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ requirements = [ 'lxml', # For XML DOM Tree - 'networkx==2.2', # For joint graph + 'networkx>=2.2', # For joint graph 'numpy', # Numpy 'pillow', # For texture image loading 'pycollada==0.6', # COLLADA (.dae) mesh loading via trimesh diff --git a/urdfpy/urdf.py b/urdfpy/urdf.py index 14b0216..1ec96db 100644 --- a/urdfpy/urdf.py +++ b/urdfpy/urdf.py @@ -895,7 +895,7 @@ def color(self): @color.setter def color(self, value): if value is not None: - value = np.asanyarray(value).astype(np.float) + value = np.asanyarray(value).astype(float) value = np.clip(value, 0.0, 1.0) if value.shape != (4,): raise ValueError('Color must be a (4,) float')