from lets_plot import *
LetsPlot.setup_html()
from lets_plot.geo_data import *
The geodata is provided by © OpenStreetMap contributors and is made available here under the Open Database License (ODbL).
na=regions_country(['usa', 'canada'])
na
--------------------------------------------------------------------------- NameError Traceback (most recent call last) C:\Temp/ipykernel_5764/3330000130.py in <module> ----> 1 na=regions_country(['usa', 'canada']) 2 na NameError: name 'regions_country' is not defined
na_boundaries=na.boundaries(1)
ggplot() + geom_polygon(aes(fill='found name'), na_boundaries)
countries=regions_country().boundaries(1)
countries
ggplot() + geom_polygon(aes(fill='found name'), countries) + ggsize(900, 400) + theme(legend_position='none')