Coding-with-Adam / Dash-by-Plotly

Interactive data analytics
dash-by-plotly.coding-with-adam.vercel.app
1.47k stars 1.69k forks source link

fix: Import dash library #54

Closed mutumagitonga closed 2 months ago

mutumagitonga commented 2 months ago

Although the app runs prior to importing the dash library, the plot lines don't appear on the chart (Only the axes are shown albeit with erroneous values).

The error associated with this incomplete chart rendering was displayed in a debug window popup and was displayed as:

Traceback (most recent call last):
  File "/home/mutuma/code/Plotly_Dash_Practice/3_charming_data_bootstrap_alerts_n_modals/app.py", line 144, in update_graph_card
    return fig, dash.no_update
NameError: name 'dash' is not defined