Python Chunks Error Message in Rmarkdown

hi Guys


I'm working with python code in RMarkdown, the code runs perfectly, I can create the HTML Document, but on the document, ti shows up errors and other messages related to the python code, I can't remove, I tried everytyhing, I hope You can help me out.

import warnings
warnings.filterwarnings('ignore')


import folium as fl


palacio_gobierno = fl.Map(location=[-12.044551797494895, -77.02977577440784],zoom_start=16)

popuptext = "<b>Palacio de Gobierno</b>"

fl.Marker(location=[-12.044551797494895, -77.02977577440784],icon=fl.Icon(color="darkblue",icon="fire"),popup=popuptext).add_to(palacio_gobierno)

fl.Circle(location=[-12.044551797494895, -77.02977577440784],color="darkblue",tooltip="La Casa de Pizarro",fill_color="red",weight=3,radius=30,fill_opacity=1).add_to(palacio_gobierno)

fl.TileLayer('stamenterrain').add_to(palacio_gobierno)

fl.TileLayer('stamenwatercolor').add_to(palacio_gobierno)

fl.TileLayer("OpenStreetMap").add_to(palacio_gobierno)

fl.TileLayer("cartodbpositron").add_to(palacio_gobierno)

fl.LayerControl().add_to(palacio_gobierno)

palacio_gobierno

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.