reno.viz.ModelViewer#

class reno.viz.ModelViewer(model, exclude_vars=None, plot_refs=None)#

Bases: object

An interface for viewing a model, modifying any free variables, and simulating live.

Leaving for now, recommend using Explorer/explorer widgets instead

Methods

__init__(model[, exclude_vars, plot_refs])

assign_controls()

create_variable_controls()

Set up a bunch of ReferenceEditors for the free variables.

rerender_equations()

rerender_graph()

rerun(n, steps)

simulate_button_press(widget)

Event handler for when the button labeled "simulate" is pressed, not a function simulating a button being pressed...

Parameters:
__annotations__ = {}#
__dict__ = mappingproxy({'__module__': 'reno.viz', '__doc__': 'An interface for viewing a model, modifying any free variables, and simulating live.\n\n    Leaving for now, recommend using Explorer/explorer widgets instead\n    ', '__init__': <function ModelViewer.__init__>, 'simulate_button_press': <function ModelViewer.simulate_button_press>, 'rerender_graph': <function ModelViewer.rerender_graph>, 'rerender_equations': <function ModelViewer.rerender_equations>, 'rerun': <function ModelViewer.rerun>, 'assign_controls': <function ModelViewer.assign_controls>, 'create_variable_controls': <function ModelViewer.create_variable_controls>, '__dict__': <attribute '__dict__' of 'ModelViewer' objects>, '__weakref__': <attribute '__weakref__' of 'ModelViewer' objects>, '__annotations__': {}})#
__module__ = 'reno.viz'#
__weakref__#

list of weak references to the object

assign_controls()#
create_variable_controls()#

Set up a bunch of ReferenceEditors for the free variables.

rerender_equations()#
rerender_graph()#
rerun(n, steps)#
simulate_button_press(widget)#

Event handler for when the button labeled “simulate” is pressed, not a function simulating a button being pressed…