Mar-01-2022, 03:00 PM
I should have clarified... I don't need 256 dates on the x-axis. This normally happens when I have a dataframe with all cells filled in. One column is date and one column is some dependent variable. I would like a way to tell Python to only print the dates every x rows or beginning of every month, or maybe Y dates for the whole graph (divided accordingly), etc. Any of these could be fine.
My frustration is in not knowing a single approach to plt that will accommodate most of the frequent things I will need to do. This is how my data usually is: a frequency of dates and dependent variable(s) for each date. The data can go on for months to years and I may want to plot it all--but I certainly don't need all the dates printed.
One thing I do need, though, is for a date label to line up vertically with the y-value being plotted. My ideal solution here will not use an additional Class or anything not in the stock package because I can't believe this is anything too complicated that the stock package shouldn't be able to handle. I suspect that's what causing this problem.
My frustration is in not knowing a single approach to plt that will accommodate most of the frequent things I will need to do. This is how my data usually is: a frequency of dates and dependent variable(s) for each date. The data can go on for months to years and I may want to plot it all--but I certainly don't need all the dates printed.
One thing I do need, though, is for a date label to line up vertically with the y-value being plotted. My ideal solution here will not use an additional Class or anything not in the stock package because I can't believe this is anything too complicated that the stock package shouldn't be able to handle. I suspect that's what causing this problem.