Skip to content

Commit d3b5d36

Browse files
authored
notebook tweaks (#69)
1 parent e52337f commit d3b5d36

File tree

2 files changed

+10
-18
lines changed

2 files changed

+10
-18
lines changed

docs/examples/arcgis.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"\n",
1616
"1. Open Windows Registry Editor (`regedit.exe`) and navigate to `Computer\\HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\FileSystem`. Change the value of `LongPathsEnabled` to `1`. See [this screenshot](https://user-images.githubusercontent.com/46331011/225140182-df32dcfe-dca2-4e7f-9992-4c389af36184.png). This is a [known issue](https://github.com/Esri/deep-learning-frameworks/blob/master/README.md#known-issues) with the deep learning libraries for ArcGIS Pro. A future release might fix this issue.\n",
1717
"2. Navigate to Start Menu -> All apps -> ArcGIS folder, then run the Python Command Prompt\n",
18-
"3. Create an new environment with mamba (for MUCH faster installation) and Python 3.9.x\n",
18+
"3. Create a new environment with mamba (for MUCH faster installation) and Python 3.9.x\n",
1919
"\n",
2020
"`conda create conda-forge::mamba esri::python --name samgeo`\n",
2121
"\n",
@@ -79,7 +79,7 @@
7979
"metadata": {},
8080
"outputs": [],
8181
"source": [
82-
"leafmap.arc_zoom_to_bounds(m.bounds)"
82+
"# leafmap.arc_zoom_to_bounds(m.bounds)"
8383
]
8484
},
8585
{
@@ -361,8 +361,8 @@
361361
],
362362
"metadata": {
363363
"kernelspec": {
364-
"display_name": "Python 3 (ipykernel)",
365-
"language": "python",
364+
"display_name": "ArcGISPro",
365+
"language": "Python",
366366
"name": "python3"
367367
},
368368
"language_info": {

docs/examples/automatic_mask_generator.ipynb

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -343,9 +343,9 @@
343343
"outputs": [],
344344
"source": [
345345
"leafmap.image_comparison(\n",
346-
" \"satellite.tif\",\n",
346+
" image,\n",
347347
" \"annotations.tif\",\n",
348-
" label1=\"Satellite Image\",\n",
348+
" label1=\"Image\",\n",
349349
" label2=\"Image Segmentation\",\n",
350350
")"
351351
]
@@ -376,23 +376,15 @@
376376
],
377377
"metadata": {
378378
"kernelspec": {
379-
"display_name": "sam",
380-
"language": "python",
379+
"display_name": "ArcGISPro",
380+
"language": "Python",
381381
"name": "python3"
382382
},
383383
"language_info": {
384-
"codemirror_mode": {
385-
"name": "ipython",
386-
"version": 3
387-
},
388384
"file_extension": ".py",
389-
"mimetype": "text/x-python",
390385
"name": "python",
391-
"nbconvert_exporter": "python",
392-
"pygments_lexer": "ipython3",
393-
"version": "3.9.16"
394-
},
395-
"orig_nbformat": 4
386+
"version": "3"
387+
}
396388
},
397389
"nbformat": 4,
398390
"nbformat_minor": 2

0 commit comments

Comments
 (0)