Get data from mplot3d graph

后端 未结 2 581
不知归路
不知归路 2021-01-23 15:19

I can’t find out how to get data from an mplot3d graph. Something similar to the 2D style:

line.get_xdata()

Is it possible?

2条回答
  •  清酒与你
    2021-01-23 15:52

    This issue was filed on Github and there is contribution that adds new get_data_3d and set_data_3d methods. Unfortunately, these changes is likely not yet available in distributions. So you might have to continue using private variable line._verts3d.

    See more here: https://github.com/matplotlib/matplotlib/issues/8914

提交回复
热议问题