'Why is the plot in matplotlib not continuous? [closed]
Solution 1:[1]
In general this occurs when your points are not ordered sequentially. Try sorting them first (this won't show on a scatter graph, obviously).
Solution 2:[2]
I think your y variable is coded as a factor variable. You need to change it to a continuous scale. Check pandas.to_numeric()
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | 2e0byo |
| Solution 2 | user115916 |


