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

Scatter plot behaving strange in dash app

$
0
0

I used following code in a notebook:

df = pd.read_csv('day_wise.csv')
fig = go.Figure()
fig.add_trace(go.Scatter(x=df['date'], y = df['tot'],
                            mode='lines+markers',
                            connectgaps=True
                        )
             )
fig.show()

And the plot looked liked this:

And when I used the same code in dash app, then the plot changed to this:

I tried many methods but it remains the same, What should I do?

The dataset can be found here: day_wise.csv

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles