0
$\begingroup$

In 2d, matplotlib plots all 4 edges(spines) of a figure.

enter image description here

In 3d, matplotlib plots 9 out of 12 edges of a cube.

enter image description here

Is it possible to set visible and color for all 12 edges(spines) of a cube in 3d?

I tried ax.xaxis._axinfo['juggled'] = (2,0,1) and found that is something live move instead of setting visible or color.

I also tried ax.collections, didn't work either.

Any clue?

$\endgroup$
0
$\begingroup$

matplotlib's 3d rendering settings are not yet complete (it's meant to be a 2d renderer program). I don't think at this stage it has this option without big hacks to the code locally (i.e. done by yourself). Mathematica offers this setting naturally.

| improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.