QuantStack / xplot

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

Scatter plot #47

Open fhelen opened 5 years ago

fhelen commented 5 years ago

Hello, Fist off all, thank's a lot for your great job; Xplot is exactly what i needed for my daily work; I have recently installed Xplot in conda environment: xeus ; 0.18.1
xeus-cling ; 0.4.10
xplot ; 0.11.0
xproperty ; 0.8.0
xtl ; 0.5.2
xwidgets ; 0.16.0

But i can't build scatter plot: Here is error compilation message when i'run your basic test (notebooks/xscatter.ipynb) inside my conda env:

In file included from input_line_7:2: In file included from /home/fhelen/miniconda3/envs/otb/include/xplot/xfigure.hpp:17: In file included from /home/fhelen/miniconda3/envs/otb/include/xwidgets/xwidget.hpp:15: In file included from /home/fhelen/miniconda3/envs/otb/include/xwidgets/xlayout.hpp:16: In file included from /home/fhelen/miniconda3/envs/otb/include/xwidgets/xobject.hpp:18: In file included from /home/fhelen/miniconda3/envs/otb/include/xproperty/xobserved.hpp:20: /home/fhelen/miniconda3/envs/otb/include/xproperty/xproperty.hpp:216:11: error: no matching constructor for initialization of 'xp::xproperty<std::vector<xtl::xoptional<std::cxx11::basic_string, bool>, std::allocator<xtl::xoptional<std::__cxx11::basic_string, bool> > >, xw::xgenerator, xpl::xscatter<xw::xgenerator >::colors_property>::value_type' (aka 'std::vector<xtl::xoptional<std::cxx11::basic_string, bool>, std::allocator<xtl::xoptional<std::__cxx11::basic_string, bool> > >') : m_value(std::forward(value))

Do you have any idea to help me how to fix the problem? Thank by advance Florian log.txt

wolfv commented 5 years ago

just in case, did you use a C++14 notebook? Or C++17?