This rendering feature automatically renders a Scene object offscreen and displays the image inside a jupyter notebook whenever Scene.show() is called, rather than displaying a webGL widget. It does require the user to select a non-jupyter backend through vispy at the start, since vispy only supports having one backend active.
Also included is a change to set the background color alpha to 1 in one case for the additive_rendering feature, which removes some ambiguous behavior with that feature depending on which vispy backend was selected.
This rendering feature automatically renders a
Scene
object offscreen and displays the image inside a jupyter notebook wheneverScene.show()
is called, rather than displaying a webGL widget. It does require the user to select a non-jupyter backend through vispy at the start, since vispy only supports having one backend active.Also included is a change to set the background color alpha to 1 in one case for the
additive_rendering
feature, which removes some ambiguous behavior with that feature depending on which vispy backend was selected.