First time here? Check out the FAQ!
answered 2015-09-07 22:12:44 +0100
Try save method instead of show:
cube((0,0,0),2,('red','green','blue')).save('cube.png')