Skip to content

Commit 03f8bfb

Browse files
committed
organize imports
1 parent c4791d0 commit 03f8bfb

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

samples/04_gis_analysts_data_scientists/calculate_post_fire_landslide_risk.ipynb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,11 @@
5151
"metadata": {},
5252
"outputs": [],
5353
"source": [
54-
"import arcgis\n",
54+
"from datetime import datetime as dt\n",
55+
"\n",
5556
"from arcgis.gis import GIS\n",
56-
"from arcgis.raster.functions import *\n",
57-
"from ipywidgets import *"
57+
"from arcgis.raster import analytics, band_arithmetic, colormap, extract_band, gbl, remap, slope\n",
58+
"from ipywidgets import HBox, Layout"
5859
]
5960
},
6061
{
@@ -75,7 +76,7 @@
7576
],
7677
"source": [
7778
"gis = GIS(profile=\"your_enterprise_profile\")\n",
78-
"arcgis.raster.analytics.is_supported(gis)"
79+
"analytics.is_supported(gis)"
7980
]
8081
},
8182
{

0 commit comments

Comments
 (0)