@@ -147,13 +147,13 @@ class Map(MacroElement):
147
147
148
148
Examples
149
149
--------
150
- >>> map = folium.Map(location=[45.523, -122.675],
150
+ >>> m = folium.Map(location=[45.523, -122.675],
151
151
... width=750, height=500)
152
- >>> map = folium.Map(location=[45.523, -122.675],
152
+ >>> m = folium.Map(location=[45.523, -122.675],
153
153
tiles='Mapbox Control Room')
154
- >>> map = folium.Map(location=(45.523, -122.675), max_zoom=20,
154
+ >>> m = folium.Map(location=(45.523, -122.675), max_zoom=20,
155
155
tiles='Cloudmade', API_key='YourKey')
156
- >>> map = folium.Map(
156
+ >>> m = folium.Map(
157
157
... location=[45.523, -122.675],
158
158
... zoom_start=2,
159
159
... tiles='http://{s}.tiles.mapbox.com/v3/mapbox.control-room/{z}/{x}/{y}.png',
@@ -299,8 +299,8 @@ def _to_png(self, delay=3):
299
299
300
300
Examples
301
301
--------
302
- >>> map ._to_png()
303
- >>> map ._to_png(time=10) # Wait 10 seconds between render and snapshot.
302
+ >>> m ._to_png()
303
+ >>> m ._to_png(time=10) # Wait 10 seconds between render and snapshot.
304
304
305
305
"""
306
306
if self ._png_image is None :
@@ -408,7 +408,7 @@ def fit_bounds(self, bounds, padding_top_left=None,
408
408
409
409
Examples
410
410
--------
411
- >>> map .fit_bounds([[52.193636, -2.221575], [52.636878, -1.139759]])
411
+ >>> m .fit_bounds([[52.193636, -2.221575], [52.636878, -1.139759]])
412
412
413
413
"""
414
414
self .add_child (FitBounds (bounds ,
0 commit comments