(Mar-01-2022, 07:54 AM)DPaul Wrote: I played around with the "too many labels" problem,
causing them to be untidy, or unreadable.
The solution is of course, less labels. The rotation "vertical" option helps. Smaller font also.
I ended up with a python/matplotlib solution that allows
to print only "every x-th" label from a vector of labels.
For evry 12-th observation the format looks like this:
lbls[::12]Paul
I tried this:
ax.plot(btstats['Date'::7], btstats['Cum.PnL'])The result is: TypeError: cannot do slice indexing on Int64Index with these indexers [Cum.PnL] of type str