Category : plotly-dash

I have a map created using Folium saved as an HTML file. It contains a few markers. Now I would like to insert this map as an IFrame element in my Plotly-Dash layout. I managed to do that using: app.layout = html.Div(children=[ html.Iframe(id=’map’, srcDoc=open(‘index.html’, ‘r’).read()) ], style={‘padding’: 10, ‘flex’: 1}) but the markers don’t appear ..

Read more

got something that is driving me crazy here, please help me! I’ve coded some website layout test with Dash in Python and here is code: app = dash.Dash() app.layout = html.Div([ html.H2(children="Title", style={‘color’:’lightgrey’, ‘background-color’: ‘black’, ‘margin-top’: ‘0px’, ‘margin-bottom’: ‘0px’, ‘padding-top’:’12.5px’, ‘padding-bottom’:’12.5px’, ‘padding-left’:’10px’, ‘text-align’: ‘center’}), html.Div(children=[], style={‘widh’:’50%’, ‘height’:’50%’, ‘border’: ’10px solid rgb(190, 190, 190)’, ‘outline’: ’10px ..

Read more