Closed deanm0000 closed 1 month ago
I opened this in a standard notebook outside of VSC and I'm getting
[Open Browser Console for more detailed log - Double click to close this message]
Model class 'ChartModel' from module 'ipychart' is loaded but can not be instantiated
TypeError: r._deserialize_state is not a function
at f._make_model (http://127.0.0.1:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/336.ebc7a55ea1768712771f.js?v=ebc7a55ea1768712771f:1:7933)
Hello @deanm0000, thanks for raising the issue, I'll investigate this bug as soon as possible.
Hello @deanm0000,
I fixed the rendering issue you encountered in the last version of ipychart (0.5.2). You should now be able to render the Chart in VSC and in a standard notebook without any errors.
Please try it again and let me know if the issue is fixed on your end. Don’t hesitate to reach out if you experience any further problems!
When I try to render a graph in VSC I see the Chart data, options, type, etc, up to Chart created in the developer console but then I get
ipywidgetsKernel.js:2 Error: Failed to render widget ead80bfb5bb34800a691c9806717554f, TypeError: Cannot read properties of undefined (reading 'parent')
The full errors are:
If I do
HTML(mychart.get_html_template())
then I get my graph so it's a reasonable work around. I don't really know much about how ipywidgets and all that stuff works in the background so not sure if there's an obvious fix here.