Closed kbrodt closed 3 years ago
Quick fix: replace https://github.com/skoch9/meshplot/blob/725e4a7926a5f10888f0edd1762fecf9db751c56/meshplot/Viewer.py#L464 and https://github.com/skoch9/meshplot/blob/725e4a7926a5f10888f0edd1762fecf9db751c56/meshplot/Viewer.py#L498 to
geometry = self.__objects[obj]["geometry"]
if isinstance(geometry, p3s.LineSegmentsGeometry):
v = geometry.positions
else:
v = geometry.attributes["position"].array
Hi,
The following code in
OFFLINE
mode raises an errorAttributeError: 'LineSegmentsGeometry' object has no attribute 'attributes'
, though inJUPYTER
one it renders good but with the same error.