Is it possible to set visible and color for all 12 edges(spines) of the figure (cube) in matplotlib?

Trending 4 years ago

In 2d, matplotlib land each 4 edges(spines) of a figure.

enter image explanation here

In 3d, matplotlib land 9 retired of 12 edges of a cube.

enter image explanation here

Is it imaginable to group visible and colour for each 12 edges(spines) of a cube successful 3d?

I tried ax.xaxis._axinfo['juggled'] = (2,0,1) and recovered that is thing unrecorded move alternatively of mounting visible aliases color.

I besides tried ax.collections, didn't activity either.

Any clue?