QuantStack / xplot

C++ backend for the bqplot 2-D plotting library
BSD 3-Clause "New" or "Revised" License
100 stars 17 forks source link

Xeus-cling kernel dies when creating xpl::lines(xpl::linear_scale, xpl::linear_scale) #52

Open OASIndustries opened 4 years ago

OASIndustries commented 4 years ago

I'm using a fresh Anaconda3 installation on MacOS Mojave.

I'm using: Python 3.7 ipykernel 5.1.2 notebook 6.0.1 ipywidets 7.5.1 bqplot 0.12.0 (off conda-forge) xeus-cling 0.6.0 (off conda-forge) xwidgets 0.18.0 (off conda-forge) and this all works, however when calling xplot 0.13.0 using the commands in the example notebook (https://github.com/QuantStack/xplot/blob/master/notebooks/xplot.ipynb) the kernel dies when calling this line: xpl::lines line(sx, sy);

Additionally, on my local notebook calling: xpl::figure fig; fig

displays blank space, whereas calling the same example code on the binder hosted notebook here shows a grey rectangle. (https://hub.gke.mybinder.org/user/quantstack-xplot-efdpwb7w/tree/notebooks)

Thanks for any assistance you can offer, I'm stuck.

ohommes commented 4 years ago

I have the exact same issue. Just used conda to install following: https://github.com/jupyter-xeus/xeus-cling on mac OS and get the exact same issue. Pretty clean and new environment so I assume this is the current state of plot as of today

rameshdange5191 commented 1 year ago

Even my kernel dies, upon running the following code:

#include "xplot/xfigure.hpp"
#include "xplot/xmarks.hpp"
#include "xplot/xaxes.hpp"

xpl::figure fig;