Echarts line chart symbol formatter

119
March 31, 2022, at 12:00 PM
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

Rent Charter Buses Company
READ ALSO
OSError: [WinError 740] The requested operation requires elevation (pytesseract.image_to_string)

OSError: [WinError 740] The requested operation requires elevation (pytesseract.image_to_string)

I am having a simple code that has an image called "1png" and I want to convert it from Image to Text using pytesseract

140
How to slow down sprite animation while maintaining 60 fps in pygame?

How to slow down sprite animation while maintaining 60 fps in pygame?

I'm trying to create a platformer game, and I want to maintain 60 FPS in it without having the sprite animations move really quicklyI've seen other answers on how to do so using the time module, but I don't really understand how to apply that

149
Iris.data.csv - ValueError: x and y must be the same size

Iris.data.csv - ValueError: x and y must be the same size

I'm trying to run this code on Google colab, I got the ValueError: x and y must be the same size, I've tried multiple ways but none of them worked

146
iPython console in Spyder does not enter in debug

iPython console in Spyder does not enter in debug

I removed and started with a fresh new installation of AnacondaJust after installation I created a custom environment (cust_env) Both the cust_env and the base environment have Python 3

126