Как исправить render() получил неожиданный аргумент ключевого слова 'path'
У меня есть код, который использует folium для отображения карты.
!pip install folium
import folium
carparks = folium.Map(location=[50.68, -1.2667], width = 960, height = 500, zoom_start=11)
# The following loops through the location items, splitting out the car part name
# and the location as a pair of latitude and longitude values.
# For each location, it then plots a circle marker on the map with the name as a popup string.
for name, location in locations.items():
folium.CircleMarker(location=location, popup=name, radius=20,
color='blue', fill_color='blue', fill_opacity=0.2).add_to(carparks)
# we create the HTML file for the map, and display it below.
carparks.render(path = 'data/IOWcarparlocations.html')
carparks.render_iframe = True
carparks
но он выдает эту ошибку :
TypeError: render() получил неожиданный аргумент ключевого слова 'path'