This PR improves the treatment of a few relatively minor issues.
Use display_id for IPython.display.display calls in Scene.show() for many backends. This causes IPython to automatically clear the location where the scene was previously displayed.
Automatically broadcast quantities that have a size of 1 in mesh.unfoldProperties. This should fix most of the confusion cases when only one particle gets drawn (see #11), although it isn't the most elegant solution.
Add ability to index Scene objects by integers or slices to get primitives. Part of #49.
This PR improves the treatment of a few relatively minor issues.
display_id
forIPython.display.display
calls inScene.show()
for many backends. This causes IPython to automatically clear the location where the scene was previously displayed.mesh.unfoldProperties
. This should fix most of the confusion cases when only one particle gets drawn (see #11), although it isn't the most elegant solution.Scene
objects by integers or slices to get primitives. Part of #49.