What is the relationship between Dash Core Components Graph() and Plotly Express?
For example, I can create a graph with
dcc.Graph(
figure={
"data": [
{
"x": data["DateTime"],
"y": data["Gold"],
"type": "lines",
},
],
"layout": {
"title": "Gold Price"
},
},
)
but many of the tutorials I've seen use plotly express in conjunction with dcc.Graph(), so it doesn't appear to be an either/or situation.
Is it a bad idea to just use dcc.Graph()? What would the advantage be of using plotly express as well?