streamlit-echarts · PyPI
https://pypi.org/project/streamlit-echarts12.12.2021 · As such, if you want to pass JS functions as strings in your options, you should use the corresponding JsCode module to wrap code with this placeholder : In Python dicts representing the JSON option counterpart, wrap any JS string function with streamlit_echarts.JsCode by calling JsCode (function).jscode .