'Dash Python - How to make the x-axis display only integers in bar chart?
I am a newbie to Dash Framework and Plotly. I am trying to plot a bar chart. I want the x-axis to display only integral values . Here's the code of the dash core component:-
dcc.Graph(id='bar-chart1', figure=px.bar(data_frame=df,
x='x', y='y',))
How do I display only integral values in x-axis like 17,18,19 ? Any help would be highly appreciated!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
