Published
Edited
Jun 30, 2020
Importers
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
model = margo_client.sendreceive("opt_controls_temp", {
T_max: T_max
})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
margo_url = new URL("https://margo-api-test-1.herokuapp.com")
Insert cell
Insert cell
Insert cell
margo_api = import(new URL("/connection.mjs", margo_url))
Insert cell
Insert cell
margo_client = margo_api.margo_client(margo_url_ws)
Insert cell
Insert cell
Insert cell
Insert cell
function js(codes, ...fillers) {
const formatted = hljs.highlight("Javascript", String.raw(codes, ...fillers))
.value;
return html`<div style="background-color: hsla(46, 90%, 96%, 1)"><code><pre>${formatted}</pre></code></div>`;
}
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more