pyecharts半极坐标散点图
时间: 2023-11-21 14:59:14 浏览: 64
在python中利用pyecharts库进行散点图的可视化描绘_pyecharts_python_散点图
以下是使用pyecharts绘制半极坐标散点图的示例代码:
```python
import random
from pyecharts import options as opts
from pyecharts.charts import Page, Polar
def polar_scatter() -> Polar:
data = [(alpha, random.randint(1, 100)) for alpha in range(101)]
c = (
Polar()
.add("", data, type_="scatter", label_opts=opts.LabelOpts(is_show=False
阅读全文