Skip to content

Commit f32ddcd

Browse files
committed
fix docstrings warnings and links
1 parent 85c8be5 commit f32ddcd

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

examples/Quickstart.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@
445445
"cell_type": "markdown",
446446
"metadata": {},
447447
"source": [
448-
"For more information about popups, please visit [Popups.ipynb](http://nbviewer.jupyter.org/github/python-visualization/folium/blob/master/examples/Popups.ipynb)"
448+
"For more information about popups, please visit [Popups.ipynb](https://nbviewer.jupyter.org/github/python-visualization/folium/blob/master/examples/Popups.ipynb)"
449449
]
450450
},
451451
{

folium/features.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ class GeoJsonTooltip(Tooltip):
700700
This will use JavaScript's .toLocaleString() to format 'clean' values
701701
as strings for the user's location; i.e. 1,000,000.00 comma separators,
702702
float truncation, etc.
703-
*Available for most of JavaScript's primitive types (any data you'll
703+
\*Available for most of JavaScript's primitive types (any data you'll
704704
serve into the template).
705705
style: str, default None.
706706
HTML inline style properties like font and colors. Will be applied to

folium/plugins/antpath.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class AntPath(Marker):
2424
Latitude and Longitude of line (Northing, Easting)
2525
popup: str or folium.Popup, default None
2626
Input text or visualization for object displayed when clicking.
27-
tooltip: str or folium.Tooltip, optional
27+
tooltip: str or folium.Tooltip, optional
2828
Display a text when hovering over the object.
2929
**kwargs:
3030
Polyline and AntPath options. See their Github page for the

folium/plugins/beautify_icon.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@ class BeautifyIcon(MacroElement):
4040
--------
4141
Plugin Website: https://github.com/marslan390/BeautifyMarker
4242
>>> BeautifyIcon(text_color='#000', border_color='transparent',
43-
background_color='#FFF').add_to(marker)
43+
... background_color='#FFF').add_to(marker)
4444
>>> number_icon = BeautifyIcon(text_color='#000', border_color='transparent',
45-
background_color='#FFF', number=10,
46-
inner_icon_style='font-size:12px;padding-top:-5px;')
45+
... background_color='#FFF', number=10,
46+
... inner_icon_style='font-size:12px;padding-top:-5px;')
4747
>>> Marker(location=[45.5, -122.3], popup=folium.Popup('Portland, OR'), icon=number_icon)
4848
>>> BeautifyIcon(icon='arrow-down', icon_shape='marker').add_to(marker)
49+
4950
"""
5051
ICON_SHAPE_TYPES = ['circle', 'circle-dot', 'doughnut', 'rectangle-dot',
5152
'marker', None]

folium/plugins/timestamped_geo_json.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ class TimestampedGeoJson(MacroElement):
1616
"""
1717
Creates a TimestampedGeoJson plugin from timestamped GeoJSONs to append
1818
into a map with Map.add_child.
19-
19+
2020
A geo-json is timestamped if:
21+
2122
* it contains only features of types LineString, MultiPoint, MultiLineString,
2223
Polygon and MultiPolygon.
2324
* each feature has a 'times' property with the same length as the
@@ -32,6 +33,7 @@ class TimestampedGeoJson(MacroElement):
3233
----------
3334
data: file, dict or str.
3435
The timestamped geo-json data you want to plot.
36+
3537
* If file, then data will be read in the file and fully embedded in
3638
Leaflet's javascript.
3739
* If dict, then data will be converted to json and embedded in the

0 commit comments

Comments
 (0)