vcs
vcs copied to clipboard
EzTemplate defaults "chop" axes when writing to file
@danlipsa @doutriaux1 the current EzTemplate
defaults do not prevent the axes being written off the canvas, and so when an output file is written we get the below. I also note that the axes, legend etc overwrite one another:
import EzTemplate
import vcs
import numpy as np
d = np.ones([10,10])
gm = vcs.createboxfill()
canvas = vcs.init(geometry=(2700, 2700), bg=True)
M = EzTemplate.Multi(columns=1,rows=2)
# First panel
t = M.get()
canvas.plot(d,gm,t)
# Second panel
t = M.get()
canvas.plot(d,gm,t)
canvas.png('EzTemplate-broken')
It would be good to revise these templates so that by default, all axes and informational text is captured within the bounds of the output format and that overwrites do not occur