kravitsjacob/paxplot

Improper line placement on plot with set_ticks

Atulsingh92 opened this issue · 2 comments

Hi,
The column with $N_{plates}$ is essentially 0, however the comparison I am making this plot with, has $N_{plates}$ as [0,1,2,3].
Hence I also want [0,1,2,3] in this plot for $N_{plates}$
image

I've achieved the above with

paxfig.set_ticks(ax_idx = 6,
                  ticks  = [0, 1, 2],
                  labels = ['0', '1', '2'])

Could anyone please suggest a way such that zero is at the bottom of the line drawn? and I can get 4 ticks of [0,1,2,3]??

Solved it with,

paxfig.set_ticks(ax_idx = 6,
                  ticks  = [0, 1, 2, 3],
                  labels = ['0', '1', '2', '3'])
paxfig.set_lim(ax_idx=6, bottom=0, top=3)

I was going to get to this in a few days, you beat me to it, good job!

The fact it didn't do this by default may be a bug... will investigate later!