Python View in KNIME

I am a student and working for a modular wind turbine company. I trying to plot multiple values on Primary and secondary y-axis and common times series x-axis using Python View Node. It is showing values correctly but some unnecessary ramps (connecti are there in the data which is useless as you can see in the attached picture. Mean (windspeed) is in float and rest of the values are integer. I used (mode=‘lines’, line_shape=‘hv’,) but it didn’t solve the problem. Please guide me.