Unwanted extra lines in bar chart and weird totals on Hover

Could you create a simple, reproducible example and let us know which package versions you are using? Here are some tips on how to create a simple example: How to Get your Questions Answered on the Plotly Forum