ArcGIS Pro 2.3 and Jupyter notebook

573
1
04-08-2019 03:15 PM
JiaLiu
by
New Contributor II

I have an ArcGIS Pro 2.3 install, and I'm following the instruction of https://developers.arcgis.com/python/guide/install-and-set-up/#Pro2.1. In Jupyter Notebook dashboard, after typing:

from arcgis.gis import GIS

my_gis = GIS()
my_gis.map()

I see MapView(layout=Layout(height='400px', width='100%')) but no map is displayed. What am I missing? One potential issue I see is ArcGIS Pro connects to our Portal but not ArcGIS Online. Is the latter connection required? If not, how do I switch to using Portal as the "map engine"? Thanks!

0 Kudos
1 Reply
JiaLiu
by
New Contributor II

BTW, I modified my_gis = GIS() to my_gis = GIS("https://..../portal","<user>","<pass>"), but it still shows MapView(layout=Layout(height='400px', width='100%')) and no map is displayed.

0 Kudos