Closed SanZamoyski closed 5 years ago
Also, setting
scale=down-only
align-x=none
align-y=none
doesn't work too.
I'm not a python guy.
In align, in Scale
elif align[i] == ALIGN_CENTER:
o[i] = 0.5 * (plotter.xyMin[i] - self.scale[i]*xyMin[i] + plotter.xyMax[i] - self.scale[i]*xyMax[i])
#o[i] = 0.5 * (self.xyMin[i] - self.scale[i]*xyMin[i] + self.xyMax[i] - self.scale[i]*xyMax[i])
Seems to work.
Also in fit in Scale:
self.offset = list(plotter.xyMin[i] - xyMin[i]*self.scale[i] for i in range(2))
#self.offset = list(self.xyMin[i] - xyMin[i]*self.scale[i] for i in range(2))
should also, didn't check.
Fixed, I think. Try it.
Yes, it works fine now out of the box. Thanks!
when using config: