Jupyter Notebook 6.5.1 Documentationmessage like this: [NotebookApp] Kernel started: 87f7d2c0-13e3-43df-8bb8-1bd37aaf3373 This long string is the kernel’s ID which is sufficient for getting the information necessary to connect to the kernel shows the current value of the metadata var button = $('').addClass('btn btn-mini').text(String(cell.metadata. ˓→foo)); // On click, change the metadata value and update the button label button button.click(function(){ var v = cell.metadata.foo; cell.metadata.foo = !v; button.text(String(!v)); }) // add the button to the DOM div. button_container.append(button); } // now we register the callback0 码力 | 191 页 | 1.88 MB | 1 年前3
Jupyter Notebook 6.5.0 Documentationmessage like this: [NotebookApp] Kernel started: 87f7d2c0-13e3-43df-8bb8-1bd37aaf3373 This long string is the kernel’s ID which is sufficient for getting the information necessary to connect to the kernel shows the current value of the metadata var button = $('').addClass('btn btn-mini').text(String(cell.metadata. ˓→foo)); // On click, change the metadata value and update the button label button button.click(function(){ var v = cell.metadata.foo; cell.metadata.foo = !v; button.text(String(!v)); }) // add the button to the DOM div. button_container.append(button); } // now we register the callback0 码力 | 189 页 | 1.88 MB | 1 年前3
Jupyter Notebook 6.4.10 Documentationmessage like this: [NotebookApp] Kernel started: 87f7d2c0-13e3-43df-8bb8-1bd37aaf3373 This long string is the kernel’s ID which is sufficient for getting the information necessary to connect to the kernel shows the current value of the metadata var button = $('').addClass('btn btn-mini').text(String(cell.metadata. ˓→foo)); // On click, change the metadata value and update the button label button button.click(function(){ var v = cell.metadata.foo; cell.metadata.foo = !v; button.text(String(!v)); }) // add the button to the DOM div. button_container.append(button); } // now we register the callback0 码力 | 181 页 | 1.87 MB | 1 年前3
Jupyter Notebook 6.4.11 Documentationmessage like this: [NotebookApp] Kernel started: 87f7d2c0-13e3-43df-8bb8-1bd37aaf3373 This long string is the kernel’s ID which is sufficient for getting the information necessary to connect to the kernel shows the current value of the metadata var button = $('').addClass('btn btn-mini').text(String(cell.metadata. ˓→foo)); // On click, change the metadata value and update the button label button button.click(function(){ var v = cell.metadata.foo; cell.metadata.foo = !v; button.text(String(!v)); }) // add the button to the DOM div. button_container.append(button); } // now we register the callback0 码力 | 183 页 | 1.88 MB | 1 年前3
Jupyter Notebook 6.4.9 Documentationmessage like this: [NotebookApp] Kernel started: 87f7d2c0-13e3-43df-8bb8-1bd37aaf3373 This long string is the kernel’s ID which is sufficient for getting the information necessary to connect to the kernel shows the current value of the metadata var button = $('').addClass('btn btn-mini').text(String(cell.metadata. ˓→foo)); // On click, change the metadata value and update the button label button button.click(function(){ var v = cell.metadata.foo; cell.metadata.foo = !v; button.text(String(!v)); }) // add the button to the DOM div. button_container.append(button); } // now we register the callback0 码力 | 181 页 | 1.87 MB | 1 年前3
Jupyter Notebook 6.4.12 Documentationmessage like this: [NotebookApp] Kernel started: 87f7d2c0-13e3-43df-8bb8-1bd37aaf3373 This long string is the kernel’s ID which is sufficient for getting the information necessary to connect to the kernel shows the current value of the metadata var button = $('').addClass('btn btn-mini').text(String(cell.metadata. ˓→foo)); // On click, change the metadata value and update the button label button button.click(function(){ var v = cell.metadata.foo; cell.metadata.foo = !v; button.text(String(!v)); }) // add the button to the DOM div. button_container.append(button); } // now we register the callback0 码力 | 185 页 | 1.88 MB | 1 年前3
Jupyter Notebook 6.4.6 Documentationmessage like this: [NotebookApp] Kernel started: 87f7d2c0-13e3-43df-8bb8-1bd37aaf3373 This long string is the kernel’s ID which is sufficient for getting the information necessary to connect to the kernel shows the current value of the metadata var button = $('').addClass('btn btn-mini').text(String(cell.metadata. ˓→foo)); // On click, change the metadata value and update the button label button button.click(function(){ var v = cell.metadata.foo; cell.metadata.foo = !v; button.text(String(!v)); }) // add the button to the DOM div. button_container.append(button); } // now we register the callback0 码力 | 181 页 | 1.87 MB | 1 年前3
Jupyter Notebook 6.5.2 Documentationmessage like this: [NotebookApp] Kernel started: 87f7d2c0-13e3-43df-8bb8-1bd37aaf3373 This long string is the kernel’s ID which is sufficient for getting the information necessary to connect to the kernel shows the current value of the metadata var button = $('').addClass('btn btn-mini').text(String(cell.metadata. ˓→foo)); // On click, change the metadata value and update the button label button button.click(function(){ var v = cell.metadata.foo; cell.metadata.foo = !v; button.text(String(!v)); }) // add the button to the DOM div. button_container.append(button); } // now we register the callback0 码力 | 191 页 | 1.88 MB | 1 年前3
Jupyter Notebook 6.4.5 Documentationmessage like this: [NotebookApp] Kernel started: 87f7d2c0-13e3-43df-8bb8-1bd37aaf3373 This long string is the kernel’s ID which is sufficient for getting the information necessary to connect to the kernel shows the current value of the metadata var button = $('').addClass('btn btn-mini').text(String(cell.metadata. ˓→foo)); // On click, change the metadata value and update the button label button button.click(function(){ var v = cell.metadata.foo; cell.metadata.foo = !v; button.text(String(!v)); }) // add the button to the DOM div. button_container.append(button); } // now we register the callback0 码力 | 179 页 | 1.87 MB | 1 年前3
Jupyter Notebook 6.5.4 Documentationmessage like this: [NotebookApp] Kernel started: 87f7d2c0-13e3-43df-8bb8-1bd37aaf3373 This long string is the kernel’s ID which is sufficient for getting the information necessary to connect to the kernel shows the current value of the metadata var button = $('').addClass('btn btn-mini').text(String(cell.metadata. ˓→foo)); // On click, change the metadata value and update the button label button button.click(function(){ var v = cell.metadata.foo; cell.metadata.foo = !v; button.text(String(!v)); }) // add the button to the DOM div. button_container.append(button); } // now we register the callback0 码力 | 191 页 | 1.89 MB | 1 年前3
共 62 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













