tetrahedron with each face differently colored?
I am running the code
G = tetrahedron(color='blue')
G.show(aspect_ratio=[1,1,1])
It tried the following:
G = tetrahedron(color=['blue',"green","red","yellow])
G.show(aspect_ratio=[1,1,1])
without success.
I want the tetrahedron to be colored for each face differently. Can I do that?
For cubes,
G = cube(color=['red', 'green', 'blue'], opacity=0.9)
G.show(aspect_ratio=[1,1,1])
gives the required coloring.
This answer might be helpful: https://ask.sagemath.org/question/37814/how-to-draw-three-pyramids-inside-a-right-prism/