Re: pyplot: change the number of x labels (from 6)

2018-01-10 Thread Paulo da Silva
Às 09:17 de 10-01-2018, Thomas Jollans escreveu: On 2018-01-10 05:22, Paulo da Silva wrote: Hi all. ... It's a bit hard to tell without a working example, but I think you'll want to set a tick locator, e.g. something like ax0.xaxis.set_major_locator(matplotlib.ticker.MultipleLocator(1)) B

Re: pyplot: change the number of x labels (from 6)

2018-01-10 Thread Thomas Jollans
On 2018-01-10 05:22, Paulo da Silva wrote: > Hi all. > > I want to have dates as major ticks labels of X axis. > This fragment of code works fine except that I need more dates to appear > instead the 6 I am getting. The number of dates in dtsd is for ex. 262. > > Thanks for any help. > > BTW, I

pyplot: change the number of x labels (from 6)

2018-01-09 Thread Paulo da Silva
Hi all. I want to have dates as major ticks labels of X axis. This fragment of code works fine except that I need more dates to appear instead the 6 I am getting. The number of dates in dtsd is for ex. 262. Thanks for any help. BTW, I got most of this code from some site on the internet. ...