We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d351abd commit 2f2baf8Copy full SHA for 2f2baf8
folium/element.py
@@ -267,7 +267,7 @@ def _repr_html_(self, **kwargs):
267
268
iframe = '<iframe src="{html}" width="{width}px" height="{height}px"></iframe>'\
269
.format(\
270
- html = b"data:text/html;base64,"+base64.b64encode(html.encode('utf8')),
+ html = "data:text/html;base64,"+base64.b64encode(html.encode('utf8')).decode('utf8'),
271
#html = self.HTML.replace('"','"'),
272
width = int(60.*width),
273
height= int(60.*height),
0 commit comments