Skip to content

Commit ed427ce

Browse files
committed
Fix typos.
1 parent b656b5e commit ed427ce

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

folium/element.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def __init__(self, width="100%", height=None, ratio="60%", figsize=None):
220220
figsize : tuple of two int, default None
221221
If you're a matplotlib addict, you can overwrite width and height.
222222
Values will be converted into pixels in using 60 dpi.
223-
For example figsize=(10,5) wil result in width="600px", height="300px".
223+
For example figsize=(10,5) will result in width="600px", height="300px".
224224
"""
225225
super(Figure, self).__init__()
226226
self._name = 'Figure'

folium/features.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ def __init__(self, image, bounds, opacity=1., attribution=None,
572572
image: string, file or array-like object
573573
The data you want to draw on the map.
574574
* If string, it will be written directly in the output file.
575-
* If file, it's content will be converted as embeded in the output file.
575+
* If file, it's content will be converted as embedded in the output file.
576576
* If array-like, it will be converted to PNG base64 string and embedded in the output.
577577
bounds: list
578578
Image bounds on the map in the form [[lat_min, lon_min], [lat_max, lon_max]]

folium/folium.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ def geo_json(self, geo_path=None, geo_str=None, data_out='data.json',
610610
# To avoid explicit pandas dependency ; changed default behavior.
611611
warnings.warn("'threshold_scale' default behavior has changed."
612612
" Now you get a linear scale between the 'min' and"
613-
" the 'mas' of your data."
613+
" the 'max' of your data."
614614
" To get former behavior, use"
615615
" folium.utilities.split_six.",
616616
FutureWarning, stacklevel=2)

folium/plugins/timestamped_geo_json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def __init__(self, data, transition_time=200, loop=True, auto_play=True):
3636
The timestamped geo-json data you want to plot.
3737
3838
If file, then data will be read in the file and fully embedded in Leaflet's javascript.
39-
If dict, then data will be converted to json and embeded in the javascript.
39+
If dict, then data will be converted to json and embedded in the javascript.
4040
If str, then data will be passed to the javascript as-is.
4141
4242
A geo-json is timestamped if:

0 commit comments

Comments
 (0)