當使用圖表繪製圖表時,我收到一條錯誤消息。我的代碼讀取如下: import plotly as py
py.tools.set_credentials_file(username='myaccount', api_key='myapikey')
import plotly.plotly as py
import plotly.tools as plotly_tools
from plot
我正在繪製標繪3D圖形並想調整相機位置。對我來說最好的方法是根據需要使用查看器,縮放和旋轉場景,然後將相機位置抓取爲JSON並將其放入生成圖片的腳本中以默認實現相同的位置。根據this tweet,它應該工作,但它不會。 我的代碼是: from plotly.graph_objs import Scatter3d, Layout, Scene
from plotly.offline import