reno.explorer.ObservablesList#

class reno.explorer.ObservablesList(model, **params)#

Bases: Viewer

Container list to add/modify/remove observations.

Methods

__init__(model, **params)

add_observation()

Create a new observation row/set of fields for setting an Observable.

fire_on_run_posterior_clicked()

Trigger the callbacks for the run_posterior_clicked event.

get_observations()

Convert all the fields from the list of Observable components to create reno Observations ops, ultimately to pass into the model.pymc call

on_run_posterior_clicked(callback)

Register a function to execute when the 'run posteriors' button is clicked.

servable([title, location, area, target])

Serves the object or adds it to the configured pn.state.template if in a panel serve context, writes to the DOM if in a pyodide context and returns the Panel object to allow it to display itself in a notebook context.

show([title, port, address, ...])

Starts a Bokeh server and displays the Viewable in a new tab.

Attributes

name

param

__annotations__ = {}#
__module__ = 'reno.explorer'#
__panel__()#

Subclasses should return a Panel component to be rendered.

add_observation()#

Create a new observation row/set of fields for setting an Observable.

fire_on_run_posterior_clicked()#

Trigger the callbacks for the run_posterior_clicked event.

get_observations()#

Convert all the fields from the list of Observable components to create reno Observations ops, ultimately to pass into the model.pymc call

Return type:

list[Observation]

name = 'ObservablesList'#
on_run_posterior_clicked(callback)#

Register a function to execute when the ‘run posteriors’ button is clicked.

Callbacks for this event should take no parameters.

Parameters:

callback (Callable)