Closed marcoct closed 7 years ago
I just removed it for now.
Do you still want me to check it out?
It was a javascript error. Replace Javascript function add_score
with:
function add_score(svg, trace) { var score = svg.selectAll(".score").data([""]); score.exit().remove(); score.enter().append("text").classed("score", true).merge(score) .attr("x", 50).attr("y", 95) .text(function(d){return trace.log_weight.toFixed(2)}); }
also, slowing the "animation" by adding sleep(0.5)
Passing to marco to integrate into original notebook
Integrated.
The log-score for the current trace that is shown does not seem correct. Needs to be debugged.