Erase <br> from velocity variable

Hello everyone,

I am working on a speedometer which is sending a velocity on the webservice Plotly using Python.
I just want to plot velocity in function of time but for example when the speed is accelerating until a certain point and then decelarating, the line of our code in going up when accelerating and it still goes up when decreasing so I think that it is because there is a
next to the variable when I play it with Plotly.

Can you guys please help me or suggest any ideas you have?