<p>Plotly支持交互式二维和三维绘图。图形是用D3.js呈现的,可以用<a href="https://plot.ly/python" rel="noreferrer">Python API</a>、<a href="https://plot.ly/python/matplotlib-to-plotly-tutorial/" rel="noreferrer">matplotlib</a>、<a href="http://nbviewer.ipython.org/gist/msund/11349097" rel="noreferrer">ggplot for Python</a>、<a href="http://nbviewer.ipython.org/gist/msund/11349097" rel="noreferrer">Seaborn</a>、<a href="http://nbviewer.ipython.org/gist/msund/11349097" rel="noreferrer">prettyplotlib</a>和<a href="https://plot.ly/ipython-notebooks/big-data-analytics-with-pandas-and-sqlite/" rel="noreferrer">pandas</a>创建。您可以缩放、平移、打开或关闭跟踪,并在悬停时查看数据。绘图可以嵌入到HTML、应用程序、仪表板和IPython笔记本中。下面是一个显示交互性的<a href="http://moderndata.plot.ly/update-plotly-charts-with-cron-jobs-and-python/" rel="noreferrer">temperature graph</a>。有关更多示例,请参见<a href="https://plot.ly/ipython-notebooks/" rel="noreferrer">IPython Notebooks</a><a href="http://moderndata.plot.ly/" rel="noreferrer">tutorials</a>的库。
<br/>
<br/></p>
<p><img src="https://i.stack.imgur.com/1BMxB.gif" alt="enter image description here"/></p>
<p><br/>
<br/></p>
<p><a href="https://plot.ly/python/" rel="noreferrer">docs</a>提供了支持的绘图类型和代码段的示例。</p>
<p><br/>
<br/>
<img src="https://i.stack.imgur.com/NtQ3H.jpg" alt="enter image description here"/>
<br/>
<br/>
具体到您的问题,您还可以从NetworkX中<a href="https://plot.ly/ipython-notebooks/network-graphs/" rel="noreferrer">make interactive plots</a>。
<br/>
<br/>
<img src="https://i.stack.imgur.com/jIyRc.jpg" alt="enter image description here"/>
<br/>
<br/>
对于使用Python进行的三维打印,可以生成类似交互的三维散点图、直线图和曲面图。绘图是用WebGL呈现的。例如,请参见英国掉期利率的<a href="https://plot.ly/~MattSundquist/11399/uk-swap-rates/" rel="noreferrer">a 3D graph</a>。</p>
<p><br/>
<br/></p>
<p><img src="https://i.stack.imgur.com/HlVNy.gif" alt="enter image description here"/></p>
<p>披露:我是密谋小组的成员。</p>