sunshe35 / pythonplotlycodes Goto Github PK
View Code? Open in Web Editor NEW《Python 数据分析:基于 Plotly 的动态可视化绘图》 源代码
License: MIT License
《Python 数据分析:基于 Plotly 的动态可视化绘图》 源代码
License: MIT License
第一个代码案件我在Jupyter Notebook报错,没办法进行下去了。希望作者能给指点一下。作为纸质版和电子版的读者,我是报着极大的兴趣来学习的,结果第一个案件就搞不下去。我是Mac用户,环境都安装好的。
plotly版本迭代速度太快了,该案例的所有代码用plotly 2.0.0版本可以完美运行,如果使用更高版本,部分代码可能不兼容。
Traceback (most recent call last):
File "D:/pywork/ploylytest/test004.py", line 53, in
figure['data'].extend(go.Data([trace1, trace2]))
AttributeError: 'tuple' object has no attribute 'extend'
figure 无法添加新元素?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.