From 45c9b5c168e845b604aa4a80fa0ee911af4b6635 2014-01-16 10:55:58 From: Jonathan Frederic <jdfreder@calpoly.edu> Date: 2014-01-16 10:55:58 Subject: [PATCH] Clear widgets upon cell execute --- diff --git a/IPython/html/static/notebook/js/codecell.js b/IPython/html/static/notebook/js/codecell.js index 8487357..64f9011 100644 --- a/IPython/html/static/notebook/js/codecell.js +++ b/IPython/html/static/notebook/js/codecell.js @@ -304,6 +304,9 @@ var IPython = (function (IPython) { */ CodeCell.prototype.execute = function () { this.output_area.clear_output(); + this.widget_subarea.html(''); + this.widget_subarea.height(''); + this.widget_area.height(''); this.set_input_prompt('*'); this.element.addClass("running"); if (this.last_msg_id) {