pandas - 在 jupyter 中出现 plotly 错误:ReferenceError: Plotly 未定义
问题描述
调用 plotly 库时遇到错误。
这是我的代码
import plotly.express as px
fig = px.scatter(pivoted, x="variable", y="value", size="value", color="Industry",
hover_name="Industry", log_x=True, size_max=60)
fig.show()
当我运行此代码时,我收到类似的错误
javascript error adding output!
ReferenceError: Plotly is not defined
See your browser Javascript console for more details.
我应该怎么办 ?
解决方案
推荐阅读
- list - applescript - 在定义的列表中使用条件系统
- c# - C#,WPF,加载默认视图
- javascript - 如何在javascript中缩短这个条件?
- javascript - Javascript字符串一次替换一个并添加到数组
- json - JSON 架构的文件夹参考
- c++ - 使用 C++ std::cin 时出现溢出错误,变量内部有奇怪的值 (C++11)
- python - 在 Python 3.x 中获取 map() 以返回列表而不是 map 对象
- javascript - 如何在框架的同一页面内定向href
- java - ElementNotInteractable Exception in Selenium
- python-3.x - Button Tkinter 中的两个命令