Repository Details
Shared by
HelloGitHub Rating
0 ratings
Python 有趣、实用的代码示例集合
Past 7 days Received -5 stars ✨
Use arrow keys to explore dates, Home and End for the first and last date, Escape to dismiss.| Date | Star | Daily change |
|---|---|---|
| 周日 | 8,127 | — |
| 周一 | 8,125 | -2 |
| 周二 | 8,124 | -1 |
| 周三 | 8,123 | -1 |
| 周四 | 8,122 | -1 |
| 周五 | 8,122 | 0 |
| 周六 | 8,122 | 0 |
8.1k
Stars
Yes
Chinese
Python
Language
No
Active
6
Contributors
3
Issues
No
Organization
None
Latest
2k
Forks
None
License

Python 有趣、实用的代码示例集合。包含:Python 基础、小技巧、坑、文件操作、机器学习、绘图等,代码如下:
```python
# pyecharts 绘制水球图示例
from pyecharts import options as opts
from pyecharts.charts import Liquid, Page
from pyecharts.globals import SymbolType
def liquid() -> Liquid:
c = (
Liquid()
.add("lq", [0.67, 0.30, 0.15])
.set_global_opts(title_opts=opts.TitleOpts(title="Liquid"))
)
return c
liquid().render('./img/liquid.html')
```
Included in:
Vol.48
Comments
Rating:
No comments yet