holoviz / holoviews

With Holoviews, your data visualizes itself.
https://holoviews.org
BSD 3-Clause "New" or "Revised" License
2.7k stars 402 forks source link

shall "legend_example" work on Jupyterlab-0.27.0, holoviews-1.8.4, bokeh-0.12.9 ? #1891

Closed stonebig closed 7 years ago

stonebig commented 7 years ago

this example works on Notebook, but not in jupyterlab-0.27.0. Is it normal (could be me ?) https://github.com/ioam/holoviews/blob/master/examples/gallery/demos/bokeh/legend_example.ipynb

holo1

philippjfr commented 7 years ago

We still haven't done any testing or compatibility work on JupyterLab. Have you tested other examples or is it specific to this example?

stonebig commented 7 years ago

well, now testing the same on "notebook" with matplotlib-2.1.0rc1, it doesn't go very much better

holo2

adodbapi (2.6.0.7)
alabaster (0.7.10)
algopy (0.5.5)
altair (1.2.0)
altair-widgets (0.1.2)
astroid (1.5.3)
astroML (0.3)
Babel (2.5.0)
backports-abc (0.5)
baresql (0.7.4)
bcolz (1.1.2)
beautifulsoup4 (4.6.0)
blaze (0.10.1)
bleach (2.0.0)
blosc (1.5.1)
bloscpack (0.11.0)
bokeh (0.12.9)
boto3 (1.4.1)
botocore (1.4.36)
Bottleneck (1.2.1)
bqplot (0.10.0a5)
brewer2mpl (1.4.1)
Brotli (0.6.0)
certifi (2017.7.27.1)
cffi (1.10.0)
chardet (3.0.4)
click (6.7)
cloudpickle (0.4.0)
clrmagic (0.0.1a2)
colorama (0.3.9)
colorcet (0.9.1)
coloredlogs (7.3)
comtypes (1.1.3)
CVXcanon (0.1.1)
cvxopt (1.1.9)
cvxpy (0.4.11)
cx-Freeze (5.0.2)
cycler (0.10.0)
cyordereddict (1.0.0)
Cython (0.26.1)
cytoolz (0.8.2)
dask (0.15.2)
dask-searchcv (0.1.0)
datashader (0.6.1)
datashape (0.5.2)
db.py (0.5.3)
decorator (4.1.2)
dill (0.2.7.1)
distributed (1.18.3)
docopt (0.6.2)
docrepr (0.1.0)
docutils (0.14)
ecos (2.0.4)
edward (1.3.3)
emcee (2.2.1)
entrypoints (0.2.3)
fast-histogram (0.2.1)
fastcache (1.0.2)
fasteners (0.14.1)
fastparquet (0.1.2)
feather-format (0.4.0)
Flask (0.12.2)
Flask-Cors (3.0.3)
formlayout (1.1.0)
fuzzywuzzy (0.15.0)
geopy (1.11.0)
gitdb2 (2.0.0)
GitPython (2.1.3)
gmpy2 (2.0.8)
greenlet (0.4.12)
guidata (1.7.6)
guiqwt (3.0.3)
h5py (2.7.1)
HeapDict (1.0.0)
holoviews (1.8.4)
html5lib (1.0b10)
humanfriendly (4.4.1)
husl (4.0.3)
idna (2.6)
imageio (2.2.0)
imagesize (0.7.1)
ipykernel (4.6.1)
ipyleaflet (0.4.0)
ipyparallel (6.0.2)
ipython (6.2.0)
ipython-genutils (0.2.0)
ipython-sql (0.3.8)
ipywidgets (7.0.1)
isort (4.2.15)
itsdangerous (0.24)
jedi (0.10.2)
Jinja2 (2.9.6)
jmespath (0.9.3)
joblib (0.11)
jsonschema (2.6.0)
julia (0.1.2)
jupyter (1.0.0)
jupyter-client (5.1.0)
jupyter-console (5.2.0)
jupyter-core (4.3.0)
jupyter-sphinx (0.1.1)
jupyterlab (0.27.0)
jupyterlab-launcher (0.4.2)
Keras (2.0.8)
keras-vis (0.4.1)
Lasagne (0.2.dev1)
lazy-object-proxy (1.3.1)
llvmlite (0.20.0)
lmfit (0.9.7)
locket (0.2.0)
lxml (3.8.0)
Markdown (2.6.9)
MarkupSafe (1.0)
matplotlib (2.1.0rc1)
mccabe (0.6.1)
metakernel (0.20.6)
mistune (0.7.4)
mizani (0.3.3)
mkl-service (1.1.2)
monotonic (1.3)
moviepy (0.2.3.2)
mpl-scatter-density (0.2)
mpld3 (0.3)
mpldatacursor (0.6.2)
mpmath (0.19)
msgpack-python (0.4.8)
multipledispatch (0.4.9)
multiprocess (0.70.5)
mypy (0.521)
mysql-connector-python (2.0.4)
nbconvert (5.3.1)
nbconvert-reportlab (0.1)
nbdime (0.3.0)
nbformat (4.4.0)
netCDF4 (1.2.9)
networkx (1.11)
nltk (3.2.4)
notebook (5.1.0)
numba (0.35.0)
numdifftools (0.9.20)
numexpr (2.6.4)
numpy (1.13.1+mkl)
numpydoc (0.7.0)
oct2py (4.0.6)
octave-kernel (0.26.2)
odo (0.5.0)
olefile (0.44)
palettable (3.1.0)
pandas (0.20.3)
pandas-datareader (0.5.0)
pandocfilters (1.4.2)
param (1.5.1)
partd (0.3.8)
patsy (0.4.1)
pdfrw (0.3)
pep8 (1.7.0)
pexpect (4.2.1)
pg8000 (1.10.5)
pickleshare (0.7.4)
Pillow (4.2.1)
pip (9.0.1)
pkginfo (1.4.1)
plotnine (0.2.1)
prettytable (0.7.2)
prompt-toolkit (1.0.15)
protobuf (3.4.0)
psutil (5.3.1)
ptpython (0.41)
ptyprocess (0.5.2)
PuLP (1.6.8)
Pweave (0.30.0a1)
py (1.4.34)
pyarrow (0.6.0)
PyAudio (0.2.11)
pybars3 (0.9.3)
pybind11 (2.2.0)
pycodestyle (2.3.1)
pycparser (2.17)
pyflakes (1.6.0)
pyflux (0.4.15)
pygame (1.9.3)
Pygments (2.2.0)
pylint (1.7.2)
pymc (2.3.6)
pymc3 (3.1)
PyMeta3 (0.5.1)
pymongo (3.5.1)
pyodbc (4.0.17)
PyOpenGL (3.1.1)
pypandoc (1.3.2)
pyparsing (2.2.0)
PyQt5 (5.9)
pyqtgraph (0.10.0)
pyreadline (2.0)
pyserial (3.4)
pystache (0.5.4)
pytest (3.2.2)
python-dateutil (2.6.1)
python-hdf4 (0.9)
python-Levenshtein (0.12.0)
python-snappy (0.5.1)
pythonnet (2.4.0.dev0)
PythonQwt (0.5.5)
pytz (2017.2)
PyWavelets (0.5.2)
pywin32 (221)
pywinpty (0.2.1)
pywinusb (0.4.2)
PyYAML (3.12)
pyzmq (16.0.2)
QtAwesome (0.4.4)
qtconsole (4.3.1)
QtPy (1.3.1)
redis (2.10.6)
reportlab (3.4.0)
requests (2.18.4)
requests-file (1.4.2)
requests-ftp (0.3.1)
requests-toolbelt (0.8.0)
rope (0.10.5)
rpy2 (2.8.6)
Rx (1.5.9)
s3fs (0.1.2)
s3transfer (0.1.11)
scikit-fuzzy (0.3.dev0)
scikit-garden (0.1.3)
scikit-image (0.13.0)
scikit-learn (0.19.0)
scikit-neuralnetwork (0.7)
scikit-optimize (0.4)
scilab2py (0.6)
scipy (0.19.1)
scs (1.2.7)
seaborn (0.8.1)
setuptools (36.5.0)
simplegeneric (0.8.1)
simplejson (3.11.1)
sip (4.19.3)
six (1.10.0)
smmap2 (2.0.3)
snakeviz (0.4.2)
snowballstemmer (1.2.1)
sortedcontainers (1.5.7)
sounddevice (0.3.8)
Sphinx (1.6.3)
sphinx-rtd-theme (0.2.4)
sphinxcontrib-websupport (1.0.1)
spyder (3.2.3)
spyder-notebook (0.2.0.dev0)
spyder-reports (0.1.1)
spyder-terminal (0.2.2)
SQLAlchemy (1.1.14)
sqlite-bro (0.8.11)
sqlparse (0.2.3)
statsmodels (0.8.0)
supersmoother (0.4)
sympy (1.1.1)
tables (3.4.2)
tblib (1.3.2)
tensorflow (1.3.0)
tensorflow-tensorboard (0.1.6)
testpath (0.3.1)
Theano (0.9.0)
thrift (0.10.0)
toolz (0.8.2)
tornado (4.5.2)
tqdm (4.15.0)
traitlets (4.3.2)
traittypes (0.0.6)
twine (1.9.1)
twitter (1.17.1)
typed-ast (1.0.4)
urllib3 (1.21.1)
vega (0.5.0)
ViTables (3.0.0)
wcwidth (0.1.7)
webencodings (0.5.1)
Werkzeug (0.12.2)
wheel (0.30.0)
widgetsnbextension (3.0.3)
winpython (1.9.20170812)
wordcloud (1.3.2)
wrapt (1.10.11)
xarray (0.9.6)
xlrd (1.1.0)
XlsxWriter (0.9.9)
xlwings (0.11.4)
zarr (2.1.4)
zict (0.1.2)
stonebig commented 7 years ago

well, it's just that now that I have (at last) bokeh and ipyleaflet working on jupyterlab, I tried to be a little more adventurous, by testing your most recently refreshed example. and so I have also an issue on fresh notebook-5.1.0 / matplotlib-2.1.0rc1 / seaborn-0.8.1 / holoviews-1.8.4

philippjfr commented 7 years ago

It looks like you're running the bokeh example in matplotlib, does the corresponding matplotlib version of the notebook work?

stonebig commented 7 years ago

I did run the "legend_example" example in matplotlib/bokeh notebook/jlab. Apparently, of the 4 combinations, only the bokehnotebook combination works in my particular configuration.

philippjfr commented 7 years ago

What I mean is that it looks like you simply ran the bokeh version and switched to the matplotlib extension. There are backend specific versions of each notebook, e.g. notice how the example you ran is located here:

examples/gallery/demos/bokeh/legend_example.ipynb

There is an equivalent example for matplotlib in, which should work:

examples/gallery/demos/matplotlib/legend_example.ipynb
stonebig commented 7 years ago

oups! I didn't notice the last cell was different. so Matplotlib Notebook and Matplotlib Jupyterlab are ok

philippjfr commented 7 years ago

Going to close this since we have an existing issue for JupyterLab compatibility.

github-actions[bot] commented 7 hours ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.