We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 802fce2 commit 150abc2Copy full SHA for 150abc2
python/jupyterlab_widgets/src/plugin.ts
@@ -90,10 +90,10 @@ function* notebookWidgetRenderers(
90
function* consoleWidgetRenderers(
91
console: CodeConsole
92
): Generator<WidgetRenderer, void, unknown> {
93
- for (const cell of toArray(console.cells)) {
+ for (const cell of Array.from(console.cells)) {
94
if (cell.model.type === 'code') {
95
for (const codecell of (cell as unknown as CodeCell).outputArea.widgets) {
96
- for (const output of toArray(codecell.children())) {
+ for (const output of Array.from(codecell.children())) {
97
if (output instanceof WidgetRenderer) {
98
yield output;
99
}
0 commit comments