vcs
vcs copied to clipboard
Plot label defaults need revision to keep them on the visible canvas
The following code leads to plot titles and axis labels falling off the canvas:
x = vcs.init(bg=True,geometry=(1500,1500))
for anti in [1,8,64]:
x.setantialiasing(anti)
x.plot([1,3,5,7,10,24,36,3,6,8,9,10])
x.png('_'.join([timeFormat,'antiAliasing',str(anti),'.png']))
x.pdf('_'.join([timeFormat,'antiAliasing',str(anti),'.pdf']))
x.clear()
See image below for example - red text denotes suggested changes
The y-axis label
is missing completely, and the variable_215
label is centered off the canvas, whereas it would be better for this to be left justified following the example of the variable_215
and mean 10.17 ..
string in the top left hand corner (which is right justified)