Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Dash Core components can't be loaded due to an AttributeError

$
0
0

Thx in advance - each idea is appreciated.

  • Environment

OS: Windows 10
Python 3.8.2

The installed Dash components are: (pip list | grep dash):
dash 1.16.2
dash-core-components 1.12.1
dash-html-components 1.1.1
dash-renderer 1.8.2
dash-table 4.10.1
jupyter-dashboards 0.7.0

  • Used Python code
import dash_core_components as dcc
import plotly.express as px

df = px.data.iris()
fig = px.scatter(df, x="sepal_width", y="sepal_length")

dcc.Graph(figure=fig)
  • Given result

Python script aborted with en error message in the console:

AttributeError: module ‘dash_core_components’ has no attribute 'Graph’

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles