Spyder IDE 中的 Plotly Express
如何在 Spyder IDE 中使用 Ploty Express?
我已经尝试了此链接的建议。但我无法让它发挥作用。它甚至没有打开我的默认网络浏览器(Google Chrome)。相反,它会在主页中打开 Internet Explorer。
我正在尝试这样的事情:
import plotly.express as px
from plotly.offline import plot
fig = px.density_mapbox(...)
plot(fig)
编辑:实际上,正在我的工作目录中使用绘图创建一个 html 文件。所以我必须在我的问题中添加一些内容。
为什么在主页中打开 Internet Explorer?而不是在我已经打开的 Chrome 中打开一个新的 Chrome 或新选项卡,其中包含绘图?1
How can i use Ploty Express in Spyder IDE?
I have tried the suggestion from this link. But i couldn't make it work. It is not even opening my default web browser (Google Chrome). Instead, it opens Internet Explorer in the main page.
I am trying something like this:
import plotly.express as px
from plotly.offline import plot
fig = px.density_mapbox(...)
plot(fig)
EDIT: Actually, a html file is being created in my working directory with the plot. So i must add something to my question.
Why is it opening Internet Explorer in the main page? Instead of just opening a new Chrome or new Tab in my already opened Chrome with the plot in it?1
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论