Version 0.2.2
Three minor improvements:
- We now track open viewers for you in case you forget to assign them to a variable:
Closing via
import octarine as oc oc.Viewer() # whoops, forgot to assign v = oc.viewers[0] # phew!
Viewer.close()
removes the reference to avoid preventing garbage collection. Viewer.show()
will now just simply display thejupyter_rbf
widget when used in Jupyter (eliminates the previous extra step)Viewer.add_lines
: thelinestyle
parameter now also accepts matplotlib-like styles such as--
or: