the
import vcs
x=vcs.init()
t=vcs.createtemplate()
t.drawLinesAndMarkersLegend(x,["red","blue","green"], ["solid","dash","dot"],[1,4,8],["blue","green","red"], ["cross","square","dot"],[3,4,5],["sample A","type B","thing C"],True)
fails
the bg=True keyword seems to make it fail (i think it's because was rendered previously)