ginga

class imexam.ginga_viewer.ginga(exam=None, close_on_del=True, logger=None, port=None, host='localhost', use_opencv=False)[source]

Bases: imexam.ginga_viewer.ginga_general

A ginga-based viewer that displays to an HTML5 widget in a browser.

This is compatible with the Jupyter notebook and can be run from a server.

This kind of viewer has slower performance than if we choose some widget back ends, but the advantage is that it works so long as the user has a working browser.

All the rendering is done on the server side and the browser only acts as a display front end. Using this you could create an analysis type environment on a server and view it via a browser or from a Jupyter notebook.

Methods Summary

close() Close the viewing window.
reopen() Reopen the viewer window if the user closes it accidentally.

Methods Documentation

close()[source]

Close the viewing window.

reopen()[source]

Reopen the viewer window if the user closes it accidentally.