There are only [3,4,5,6,8] values for Cylinders in Auto.csv
, but when I created a bar plot using plotly, I see that there is one extra value for Cylinder over X-axis which is 7.
How to eliminate that additional point?
Thanks in advance.
There are only [3,4,5,6,8] values for Cylinders in Auto.csv
, but when I created a bar plot using plotly, I see that there is one extra value for Cylinder over X-axis which is 7.
How to eliminate that additional point?
Thanks in advance.
Copyright © 2021 Jogjafile Inc.
You could change your axis type to
categorical
which prevents Plotly from filling your "missing" values.