Thanks, Matthias,
Your code suggestion works. I was aware of xlim but must not have used
it correctly, before contacting matplotlib-users. I think I tried
set_xlim, but did not use the get_xlim function. With your code added,
the minor tick mark locations line up correctly too.
Thanks again
Hi Ann,
I'm not sure I understood correctly, but maybe it is useful to change the
xlimits slightly, e.g. datetime(1998,4,20,0) instead of (the default value in
this case) datetime(1998,4,20,1):
ax.set_xlim( date2num(datetime(1998,4,20,0)), ax.get_xlim()[1] )
> Also the minor tick marks do not
I am plotting time-series 1-minute cadence data for specific
multiple-day validation periods.
Sometimes the data have a gap between the start of the validation period
and the start of the data. Attached is a stand-alone Python script that
demonstrates the problem, along with the plot that the