I have the following code:
import numpy as np
from dash import Dash, html
from dash import dcc
import dash_bootstrap_components as dbc
import plotly.graph_objects as go
app = Dash(external_stylesheets=[dbc.themes.BOOTSTRAP])
app.layout = html.Div(
dbc.Row(
[
dbc.Col([
dcc.Graph(
id='figure',
figure={
'data': [go.Surface(
z=np.zeros((1000, 1000)),
colorscale='algae',
opacity=0.9,
showscale=False
)]}
)
],
md=12)
]
)
)
My output looks as follows:
How do I make sure that the size of figure increases like below: