We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Echart pane doesn't behave correctly when wrapping a pyechart object + interacting wigh widgets. Refer to this discourse discussion.
I expect this to work, and it initializes, but upon update it returns an error.
from pyecharts.charts import Bar import panel as pn pn.extension('echarts') bar1 = pn.widgets.IntSlider(start=1, end=100, value=50) bar2 = pn.widgets.IntSlider(start=1, end=100, value=50) @pn.depends(bar1.param.value, bar2.param.value) def plot(bar1, bar2): my_plot= (Bar() .add_xaxis(['Bar1', 'Bar2']) .add_yaxis('Values', [bar1, bar2]) ) return pn.pane.ECharts(my_plot, width=500, height=250) pn.Row(pn.Column(bar1, bar2), plot)
ValueError: expected an element of Dict(String, Any), got <pyecharts.charts.basic_charts.bar.Bar object at 0x7ffada0b5910>
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Echart pane doesn't behave correctly when wrapping a pyechart object + interacting wigh widgets. Refer to this discourse discussion.
Description of expected behavior and the observed behavior
I expect this to work, and it initializes, but upon update it returns an error.
Stack traceback and/or browser JavaScript console output
ValueError: expected an element of Dict(String, Any), got <pyecharts.charts.basic_charts.bar.Bar object at 0x7ffada0b5910>
The text was updated successfully, but these errors were encountered: