The layout was `None` issue

Receiving this error for the code below. I’m also running this on Jupyter Notebooks.

"The layout was None "
dash.exceptions.NoLayoutException: The layout was None at the time that run_server was called. Make sure to set the layout attribute of your application before running the server.
127.0.0.1 - - [05/Jun/2020 17:32:09] “GET /favicon.ico HTTP/1.1” 500 -

app = dash.Dash()

html.Div(id=‘my-div’, children=[
dcc.Graph(
id=‘my-map’,
figure={
‘data’: [go.Choropleth(
colorscale = ‘Cividis’,
locations = dfgf[‘dest_state’],
z = dfgf[‘count’],
locationmode = ‘USA-states’,
text = dfgf[‘dest_state’])
],
‘layout’:{‘title’:‘Map’}

        })

])

if name == ‘main’:
app.run_server()

looks like you’re missing app.layout = …

oh wow…maybe it’s time to take a break :sweat_smile:

thanks