Hello, everyone.
I’m plotting two graphs side by side, one in each column of the same row. I’ve been trying to remove the whitespace between the columns but without much progress, even after hours of research, to plot them right next to each other. The graphs and the code are below
import dash_bootstrap_components as dbc
from dash import Dash, html
from . import ids
from …data.source import TariffSource
from …data.geo_loader import GeoSource
from src.components import (
bar_chart_state,
year_dropdown,
map
)
def create_layout(app: Dash, tariff_source: TariffSource, geo_source: GeoSource) → html.Div:
return html.Div(
className="app-div",
children=[
html.H1(app.title),
html.Hr(),
html.Div(
className="dropdown-container",
children=[
dbc.Row(
[
dbc.Col(year_dropdown.render(app, tariff_source)),
],
),
],
),
html.Div(
className="graph-container",
children=[
dbc.Row(
[
dbc.Col(bar_chart_state.render(app, ids.MAP_BAR_CHART, geo_source)),
dbc.Col(map.render(app, geo_source)),
],
),
],
),
],
)