Python中文
首页
教程
问答
标签
搜索
登录
注册
使用plotly offlin时,plotly express plots会自动打开新选项卡
回答此问题可获得
20
贡献值,回答如果被采纳可获得
50
分。
<p>使用plotly express(px)和绘图。脱机,每隔一段时间(也许每小时一次)我在浏览器上重新打开以前的所有绘图。在</p> <p>我尝试访问ExpressFigure对象以查看是否存在问题-但无法解决。在</p> <pre><code>import plotly_express as px from plotly.offline import plot iris = px.data.iris() scatter_plot = px.scatter(iris, x="sepal_width", y="sepal_length") plot(scatter_plot) </code></pre> <p>这将在一个新的选项卡(在本地目录中保存一个html文件)中打印数据,该选项卡将每隔一段时间重新打开,并重新填充实例。在</p> <p>(这需要安装plotly_express和pandas。要安装px,只需运行<code>pip install plotly_express</code>)。在</p>
0 条评论
分类:
Python问答
请先
登录
后评论
默认排序
时间排序
1 个回答
匿名
1天前
擅长:python、mysql、java
<p>要以内联方式显示绘图,可以使用<code>plotly.offline.iplot</code>代替<code>plotly.offline.plot</code>,但这实际上是<code>ExpressFigure</code>在幕后所做的,所以不清楚为什么需要显式地这样做。在</p>
请先
登录
后评论
针对此问题:
更多的回答
关注
89
关注
收藏
1
收藏,
216
浏览
网友 提问于 2天前
相关Python问题
得到媒体:缩略图url从rss源
6 回答
得到对数正态随机数给定log10均值和log10标准差
6 回答
得到工作,波斯特不
3 回答
得到左半积和右半积的绝对差最小的元素
6 回答
得到幻数错误?
7 回答
得到异常错误“线程中的异常-1(最有可能在解释器关闭期间引发)”,它使用Parami
4 回答
得到循环
3 回答
得到德语的语法变化
8 回答
得到我认为是好的结果,但还不够
6 回答
得到截断svd.transform()返回float16而不是float64
8 回答
得到所有不相交的集合的并集
3 回答
得到所有函数求值组合的矩阵
5 回答
得到扭曲延迟取消错误当使用刮痧时
8 回答
得到控制台.log使用Selenium python从Chrome输出一次,然后调用第二次为空
5 回答
得到操作系统环境通过NSSM运行Python
4 回答
得到数学方程中的表达式
4 回答
得到数据库结构属性
10 回答
得到整数的后三位
8 回答
得到整数的第n位精度
4 回答
得到最低落的reddit评论
4 回答