reno.explorer.Explorer#
- class reno.explorer.Explorer(model, **params)#
Bases:
PyComponentThe overall wrapper for the interactive model explorer.
- Parameters:
model (reno.model.Model) – The SD model to generate a UI for.
Methods
__init__(model, **params)clone(**params)Makes a copy of the object sharing the same parameters.
embed([max_states, max_opts, json, ...])Renders a static version of a panel in a notebook by evaluating the set of states defined by the widgets in the model.
from_dict(data)Deserilalize data from previously saved session via
to_dict().get_root([doc, comm, preprocess])Returns the root model and applies pre-processing hooks
Run pymc on the model to get posteriors.
Run pymc on the model for priors only.
save(filename[, title, resources, template, ...])Saves Panel objects to file.
select([selector])Iterates over the Viewable and any potential children in the applying the Selector.
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.
server_doc([doc, title, location])Returns a serveable bokeh Document with the panel attached
set_running(running)Set the status of the spinney things in various subcomponents when things are happening.
show([title, port, address, ...])Starts a Bokeh server and displays the Viewable in a new tab.
to_dict()Serialize all info for current session so can be saved to file.
Attributes
alignaspect_ratiocss_classesdesignheightheight_policyloadingmarginmax_heightmax_widthmin_heightmin_widthparamsizing_modestylesstylesheetstagsvisiblewidthwidth_policy- __annotations__ = {}#
- __module__ = 'reno.explorer'#
- __panel__()#
- static from_dict(data)#
Deserilalize data from previously saved session via
to_dict().- Parameters:
data (dict)
- Return type:
- name = 'Explorer'#
- run_posterior()#
Run pymc on the model to get posteriors.
- run_prior()#
Run pymc on the model for priors only.
- set_running(running)#
Set the status of the spinney things in various subcomponents when things are happening.
- Parameters:
running (bool)
- to_dict()#
Serialize all info for current session so can be saved to file.
- Return type:
dict