lava / matplotlib-cpp

Extremely simple yet powerful header-only C++ plotting library built on the popular matplotlib
MIT License
4.28k stars 1.12k forks source link

hit dead kernel error with xeus-cling #237

Open jerabaul29 opened 3 years ago

jerabaul29 commented 3 years ago

I am trying to use matplotlibcpp with a xeus-cling notebook. My code is available here, though it is a simple adaptation of the gist linked to in the first cell:

https://github.com/jerabaul29/xeus-cling-experimentations/blob/main/example_matplotlibcpp/example_matplotlibcpp.ipynb

I had a number of import issues, as well as some numpy issues, at the beginning, which now seem to be fixed. However, I still have one problem, i.e. when I hit the last cell a windows pops up with a "The kernel has appeared to have died. It will restart automatically" message. I have tried to search for help but cannot find anything that works. Any idea what the problem may be?

jerabaul29 commented 3 years ago

Btw, these difficulties made me wonder, would it be possible, instead of installing everything on one's machine by hand, to have a standardised dockerfile with everything needed to run out of the box, for example matplotlib-cpp + xeus-cling notebooks? Do you know if such a dockerfile that would take care of eerything exists / if so could it be part of the repo / if not do you think this would be possible to setup? :)

Sreevis commented 3 years ago

Hi @jerabaul29, Any updates on this? I was also trying the same. Please help if you are able to do it. Did you explore any alternatives?

Regards, Sreevishnu