8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b933cfd commit 654afd2Copy full SHA for 654afd2
lib/matplotlib/backends/web_backend/nbagg_mpl.js
@@ -44,6 +44,10 @@ mpl.mpl_figure_comm = function(comm, msg) {
44
45
fig.parent_element = element.get(0);
46
fig.cell_info = mpl.find_output_cell("<div id='" + id + "'></div>");
47
+ if (!fig.cell_info) {
48
+ console.error("Failed to find c 5529 ell for figure", id, fig);
49
+ return;
50
+ }
51
52
var output_index = fig.cell_info[2]
53
var cell = fig.cell_info[0];
0 commit comments