Skip to content

Commit

Permalink
Regenerate notebook content
Browse files Browse the repository at this point in the history
We fixed a duplicating stdout and stderr in commit
d99fcf0 thus we need to recreate the notebook outputs.
  • Loading branch information
elevans committed Aug 8, 2023
1 parent e50446e commit c5214a0
Show file tree
Hide file tree
Showing 10 changed files with 237 additions and 371 deletions.
9 changes: 8 additions & 1 deletion doc/01-Starting-PyImageJ.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,13 @@
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"Operating in headless mode - the original ImageJ will have limited functionality.\n"
]
},
{
"name": "stdout",
"output_type": "stream",
Expand Down Expand Up @@ -133,7 +140,7 @@
{
"data": {
"text/plain": [
"'ImageJ2 2.14.0/1.54f; Java 11.0.15-internal [amd64]; 43MB of 7952MB'"
"'ImageJ2 2.14.0/1.54f; Java 11.0.15-internal [amd64]; 35MB of 7952MB'"
]
},
"execution_count": 3,
Expand Down
7 changes: 7 additions & 0 deletions doc/02-Working-with-Java-classes-and-Python.ipynb

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions doc/04-Retrieving-Data-from-Java.ipynb

Large diffs are not rendered by default.

13 changes: 3 additions & 10 deletions doc/06-Working-with-Images.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,6 @@
"text": [
"[INFO] Populating metadata\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"[java.lang.Enum.toString] [INFO] Populating metadata\n"
]
}
],
"source": [
Expand Down Expand Up @@ -316,7 +309,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "5a132864f2a64da3be68ee7dff2d46df",
"model_id": "622fc41961534cc78efdd938b438a324",
"version_major": 2,
"version_minor": 0
},
Expand Down Expand Up @@ -357,7 +350,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "9fd39d47037b4ed0ae6cc7648b216983",
"model_id": "458f14cdc0864b3f9cfd5e7a300d17cd",
"version_major": 2,
"version_minor": 0
},
Expand Down Expand Up @@ -405,7 +398,7 @@
{
"data": {
"text/plain": [
"Viewer(camera=Camera(center=(0.0, 203.5, 202.5), zoom=1.2222956598369685, angles=(0.0, 0.0, 90.0), perspective=0.0, mouse_pan=True, mouse_zoom=True), cursor=Cursor(position=(1.0, 1.0), scaled=True, size=1, style=<CursorStyle.STANDARD: 'standard'>), dims=Dims(ndim=2, ndisplay=2, last_used=0, range=((0.0, 408.0, 1.0), (0.0, 406.0, 1.0)), current_step=(203, 202), order=(0, 1), axis_labels=('0', '1')), grid=GridCanvas(stride=1, shape=(-1, -1), enabled=False), layers=[<Image layer 'Image' at 0x7fd36a974100>], help='use <2> for transform', status='Ready', tooltip=Tooltip(visible=False, text=''), theme='dark', title='napari', mouse_over_canvas=False, mouse_move_callbacks=[], mouse_drag_callbacks=[], mouse_double_click_callbacks=[], mouse_wheel_callbacks=[<function dims_scroll at 0x7fd397c19120>], _persisted_mouse_event={}, _mouse_drag_gen={}, _mouse_wheel_gen={}, keymap={})"
"Viewer(camera=Camera(center=(0.0, 203.5, 202.5), zoom=1.2222956598369685, angles=(0.0, 0.0, 90.0), perspective=0.0, mouse_pan=True, mouse_zoom=True), cursor=Cursor(position=(1.0, 1.0), scaled=True, size=1, style=<CursorStyle.STANDARD: 'standard'>), dims=Dims(ndim=2, ndisplay=2, last_used=0, range=((0.0, 408.0, 1.0), (0.0, 406.0, 1.0)), current_step=(203, 202), order=(0, 1), axis_labels=('0', '1')), grid=GridCanvas(stride=1, shape=(-1, -1), enabled=False), layers=[<Image layer 'Image' at 0x7f3f6dd9c490>], help='use <2> for transform', status='Ready', tooltip=Tooltip(visible=False, text=''), theme='dark', title='napari', mouse_over_canvas=False, mouse_move_callbacks=[], mouse_drag_callbacks=[], mouse_double_click_callbacks=[], mouse_wheel_callbacks=[<function dims_scroll at 0x7f3f9ad10ee0>], _persisted_mouse_event={}, _mouse_drag_gen={}, _mouse_wheel_gen={}, keymap={})"
]
},
"execution_count": 13,
Expand Down
23 changes: 1 addition & 22 deletions doc/07-Running-Macros-Scripts-and-Plugins.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,6 @@
"[INFO] script:macro.ijm = [[greeting], [Hello Chuckles. You are 13 years old, and live in Nowhere.]]\n",
"Hello Chuckles. You are 13 years old, and live in Nowhere.\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"[java.lang.Enum.toString] [INFO] script:macro.ijm = [[greeting], [Hello Chuckles. You are 13 years old, and live in Nowhere.]]\n"
]
}
],
"source": [
Expand Down Expand Up @@ -132,13 +125,6 @@
"17 sumOfSquares 26955832100.0\n",
"18 variance 46033.94203\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"[java.lang.Enum.toString] [INFO] stats = [[geometricMean, harmonicMean, kurtosis, max, mean, median, min, moment1AboutMean, moment2AboutMean, moment3AboutMean, moment4AboutMean, size, skewness, stdDev, sum, sumOfInverses, sumOfLogs, sumOfSquares, variance], [595.4414497753899, 577.0396027150354, 29.15435353004105, 5312.0, 620.693248, 533.0, 329.0, 3.836939868051558E-12, 46033.20548721019, 3.4518346475241706E7, 6.17816849886094E10, 62500.0, 3.4948837458522295, 214.55521907025008, 3.8793328E7, 108.31145679764538, 399331.44142784143, 2.69558321E10, 46033.94203028317]]\n"
]
}
],
"source": [
Expand Down Expand Up @@ -250,14 +236,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"[INFO] blobs.gif = net.imagej.display.DefaultDatasetView@a323a5b\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"[java.lang.Enum.toString] [INFO] blobs.gif = net.imagej.display.DefaultDatasetView@a323a5b\n"
"[INFO] blobs.gif = net.imagej.display.DefaultDatasetView@4e4f4092\n"
]
},
{
Expand Down
Loading

0 comments on commit c5214a0

Please sign in to comment.