79516956

Date: 2025-03-18 09:50:31
Score: 1
Natty:
Report link

It may be related to how you initialise the Dash app. On my end, the plot displays correctly when I structure like this.

import dash
from dash import dcc, html

# Initialize Dash app
app = dash.Dash(__name__)

app.layout = html.Div(children=[
    html.H1("SCP Containment Class Distribution"),
    dcc.Graph(id="scp_chart", figure=fig)
])

if __name__ == "__main__":
    app.run(debug=True)

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: nrmzmh