Fixing bug that caused plots to not be saved.

CodeCell.append_mime_type needed a default element.
Brian E. Granger 15 years ago
parent a9d6f2eb2d
commit 63de9cd719

@ -227,6 +227,7 @@ var IPython = (function (IPython) {
CodeCell.prototype.append_mime_type = function (json, element) {
element = element || this.element.find("div.output");
if (json.html !== undefined) {
this.append_html(json.html, element);
} else if (json.latex !== undefined) {

Loading…
Cancel
Save