我正在尝试在HTML页面上显示绘图。如何将此图插入到Html.DiV()中。我试过了,但它给了我一个错误。 import pandas as pdimport matplotlib.pyplot as pltticker='AAPL'
data = pd.DataFrame(columns=tickers_list) data[ticker] = yf.download(t
我以前从未使用过plotly,并且我一直在尝试将示例图像代码导出为png。我已经安装了plotly和kaleido,并在python 3上运行了代码,但是什么也没有发生。#Here is the code:
import numpy as np# RGB Data as numpy array fig.show()
fig
addition: Warning messages: 1: In open.connection(con, "rb") : cannot open file '/Users/i073341/.plotly/.config': No such file or directory 3: You need a plotly username.See help(signup, package = 'plotly') 4: Couldn