from pyecharts import options as opts
from pyecharts.charts import Scatter
c = (
Scatter(init_opts=opts.InitOpts(width="1000px", height="500px"))
.add_xaxis(['a', 'b', 'c', 'd', 'e'])
.add_yaxis("", [8.5,7.5,7.5,5.0,4.0],symbol='image://https://s4.ax1x.com/2022/02/07/HQn7Kx.png',symbol_size=50)
.set_global_opts(
title_opts=opts.TitleOpts(title="Scatter-splitline"),
xaxis_opts=opts.AxisOpts(splitline_opts=opts.SplitLineOpts(is_show=True)),
yaxis_opts=opts.AxisOpts(splitline_opts=opts.SplitLineOpts(is_show=True)),
)
.render_notebook()
)
c
above code print like this: https://i.stack.imgur.com/sQOW9.png I want the "a","b","c","d","e" display different image, how to set the symbol formatter ? here are the Echarts docs: https://echarts.apache.org/zh/option.html#series-scatter.symbol https://i.stack.imgur.com/KmUrF.jpg