In my python data, only 2 points are displayed on the x axis.
I would like to have more, but I donβt know how.
x = [ datetime.datetime(1900,1,1,0,1,2), datetime.datetime(1900,1,1,0,1,3), ... ]
The X axis shows only 2 interval points. I tried using .xticks but did not work for the X axis. This gave the error below:
TypeError: object of type 'datetime.datetime' has no len()
Kensg source share