How to force dcc.Graph to resize?

You can try to set height at the layout of the figure that you will insert into the graph.


@APP.callback(Output('graph', 'figure')

LAYOUT = {'height': <DESIRED>,
          'plot_bgcolor': 'white',
          'paper_bgcolor': 'white'}

figure['layout'].update(LAYOUT)`
1 Like