You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't reproduce. Works fine for me on the latest kernel in the Jupyter lab. Try to put @file directive in a separate cell and execute it, maybe there are some connection issues.
It works for me now, after restarting Jupyter, thanks very much @altavir !
However, I cannot find how to display the chart in the notebook directly, it always invokes a java application instead, and more, while closing the JFrame window, the notebook kernel appears dead simultaneously:
The kernel appears to have died. It will restart automatically.
Any solution? Thanks again!
The notebook runs in a browser and you can't run Swing apps inside it. Probably it will be possible to embed JFrame in IDEA notebook support in the future. As for closing the application, it is a quirk of XChart. It seems to forcibly close the application on pannel close. You need to use a custom JFrame factory to avoid that.
I try using xchart in the notebook, but it doesn't work:
the output error:
I can find the
xchart-3.8.0.jar
file in the folder:~/.ivy2/cache/org.knowm.xchart/xchart/jars
, help and thanks!The text was updated successfully, but these errors were encountered: