Skip to content

Commit a893c0c

Browse files
committed
update paragraph to use 2.4 content
1 parent 400d78f commit a893c0c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

samples/04_gis_analysts_data_scientists/covid19_part1_mapping_the_pandemic.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2024,8 +2024,7 @@
20242024
"source": [
20252025
"### Map the confirmed COVID-19 cases in China\n",
20262026
"\n",
2027-
"We can either call the `add_layer()` function to add the specified layer or item (i.e. the FeatureLayer object created as `fl`) to the map widget, and set the visualization options to be using `ClassedSizeRenderer`, or plot the derived SeDF on the map view directly with further descriptions such as <a href=\"https://developers.arcgis.com/python/guide/visualizing-data-with-the-spatially-enabled-dataframe/\n",
2028-
"\">how to renderer spatial data using symbol and color palette</a> (Here, the SeDF is the derivative of the merged DataFrame, which now contains a SHAPE column that we can use to plot in the Map widget as polygons).\n",
2027+
"We can call the `map.content.add` method or the data frame's `spatial.plot()` method to add the specified layer or item (i.e. the FeatureLayer object created as `fl`) to the map widget. Once we do that, we can use that layer's RendererManager to access the smart_mapping() method to use class breaks rendering to visualize the data, distinguishing by size or color.\n",
20292028
"\n",
20302029
"#### Display confirmed cases in China as points"
20312030
]

0 commit comments

Comments
 (0)