I am very new to Dash, PX, and Python, your help will be very much appreciated.
Currently developing a choropleth map on Dash and managed to get everything working. Then I have the bright idea of putting 2 choropleth map side by side.
I noticed that the inner frame has become much lower/shorter when i have the 2 maps side by side, compared to when I just have 1 map. Screenshots below.
I have tried setting the height inside px.choropleth() and that didn’t work.
I have also tried switching out the dbc and use html.Div with no success.
# Create the choropleth map fig = px.choropleth(df_choropleth, geojson = geojson_file, color = df_choropleth\[df_choropleth_colname\], # region/tla values locations = geo_category, # region/tla names featureidkey = featureidkey) # matching region/tla names in geojson file fig.update_geos(fitbounds = "locations", # zoom to locations in geojson file visible = False) # hides basemap layer fig.update_traces(marker_line_color = "white") # white outline on each polygon fig.update_layout(coloraxis_colorbar_title = None) # remove colour barfig = fig2body = dbc.Row([ dbc.Col( dcc.Graph(id = "choropleth", figure = fig, style = {"height": "70vh"}) ), dbc.Col( dcc.Graph(id = "choropleth2", figure = fig2, style = {"height": "70vh"}) ) ])
The inner frame is much shorter vertically.
Notice the inner frame is tall when its a single plot

