question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HiPlot not displaying // Version 0.1.8.post2 broken on notebooks

See original GitHub issue

When running below command:

import hiplot as hip
data = [{'dropout':0.1, 'lr': 0.001, 'loss': 10.0, 'optimizer': 'SGD'},
        {'dropout':0.15, 'lr': 0.01, 'loss': 3.5, 'optimizer': 'Adam'}]
hip.Experiment.from_iterable(data).display()

HiPlot graph never loads with following output

Loading HiPlot...
<hiplot.ipython.IPythonExperimentDisplayed at 0x1df01706b70>

Reproduction

(new_interpreter) C:\Users\erick>pip install hiplot
Collecting hiplot
  Using cached hiplot-0.1.8.post2-py3-none-any.whl (335 kB)
Requirement already satisfied: beautifulsoup4 in c:\users\erick\miniconda3\envs\new_interpreter\lib\site-packages (from hiplot) (4.9.0)
Requirement already satisfied: flask-compress in c:\users\erick\miniconda3\envs\new_interpreter\lib\site-packages (from hiplot) (1.4.0)
Requirement already satisfied: flask in c:\users\erick\miniconda3\envs\new_interpreter\lib\site-packages (from hiplot) (1.1.2)
Requirement already satisfied: ipython>=7.0.1 in c:\users\erick\miniconda3\envs\new_interpreter\lib\site-packages (from hiplot) (7.13.0)
Requirement already satisfied: soupsieve>1.2 in c:\users\erick\miniconda3\envs\new_interpreter\lib\site-packages (from beautifulsoup4->hiplot) (2.0)
Requirement already satisfied: click>=5.1 in c:\users\erick\miniconda3\envs\new_interpreter\lib\site-packages (from flask->hiplot) (7.1.1)
Requirement already satisfied: Werkzeug>=0.15 in c:\users\erick\miniconda3\envs\new_interpreter\lib\site-packages (from flask->hiplot) (0.16.0)
Requirement already satisfied: Jinja2>=2.10.1 in c:\users\erick\miniconda3\envs\new_interpreter\lib\site-packages (from flask->hiplot) (2.11.2)
Requirement already satisfied: itsdangerous>=0.24 in c:\users\erick\miniconda3\envs\new_interpreter\lib\site-packages (from flask->hiplot) (1.1.0)
Requirement already satisfied: decorator in c:\users\erick\miniconda3\envs\new_interpreter\lib\site-packages (from ipython>=7.0.1->hiplot) (4.4.2)
Requirement already satisfied: prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 in c:\users\erick\miniconda3\envs\new_interpreter\lib\site-packages (from ipython>=7.0.1->hiplot) (3.0.5)
Requirement already satisfied: jedi>=0.10 in c:\users\erick\miniconda3\envs\new_interpreter\lib\site-packages (from ipython>=7.0.1->hiplot) (0.17.0)
Requirement already satisfied: pygments in c:\users\erick\miniconda3\envs\new_interpreter\lib\site-packages (from ipython>=7.0.1->hiplot) (2.6.1)
Requirement already satisfied: colorama; sys_platform == "win32" in c:\users\erick\miniconda3\envs\new_interpreter\lib\site-packages (from ipython>=7.0.1->hiplot) (0.4.3)
Requirement already satisfied: setuptools>=18.5 in c:\users\erick\miniconda3\envs\new_interpreter\lib\site-packages (from ipython>=7.0.1->hiplot) (46.1.3.post20200325)
Requirement already satisfied: traitlets>=4.2 in c:\users\erick\miniconda3\envs\new_interpreter\lib\site-packages (from ipython>=7.0.1->hiplot) (4.3.3)
Requirement already satisfied: pickleshare in c:\users\erick\miniconda3\envs\new_interpreter\lib\site-packages (from ipython>=7.0.1->hiplot) (0.7.5)
Requirement already satisfied: backcall in c:\users\erick\miniconda3\envs\new_interpreter\lib\site-packages (from ipython>=7.0.1->hiplot) (0.1.0)
Requirement already satisfied: MarkupSafe>=0.23 in c:\users\erick\miniconda3\envs\new_interpreter\lib\site-packages (from Jinja2>=2.10.1->flask->hiplot) (1.1.1)
Requirement already satisfied: wcwidth in c:\users\erick\miniconda3\envs\new_interpreter\lib\site-packages (from prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0->ipython>=7.0.1->hiplot) (0.1.9)
Requirement already satisfied: parso>=0.7.0 in c:\users\erick\miniconda3\envs\new_interpreter\lib\site-packages (from jedi>=0.10->ipython>=7.0.1->hiplot) (0.7.0)
Requirement already satisfied: ipython-genutils in c:\users\erick\miniconda3\envs\new_interpreter\lib\site-packages (from traitlets>=4.2->ipython>=7.0.1->hiplot) (0.2.0)
Requirement already satisfied: six in c:\users\erick\miniconda3\envs\new_interpreter\lib\site-packages (from traitlets>=4.2->ipython>=7.0.1->hiplot) (1.14.0)
Installing collected packages: hiplot
Successfully installed hiplot-0.1.8.post2

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
avant1commented, Apr 17, 2020

I’ve noticed similar issue with latest version (hiplot-0.1.8.post2). Downgrade to 0.1.7.post3 as @danthe3rd suggested resolves the issue.

Here is my setup:

  • OS: Windows 10
  • browser: MS Edge (Chromium-based browser)
  • jupyter notebook with a couple of nbextensions enabled

Here is JS error stacktrace: image

Text version inside
Uncaught SyntaxError: missing ) after argument list
  at DOMEval (jquery.min.js:124)
  at domManip (jquery.min.js:5945)
  at jQuery.fn.init.append (jquery.min.js:6081)
  at OutputArea._safe_append (outputarea.js:457)
  at OutputArea.append_display_data (outputarea.js:660)
  at OutputArea.append_output (outputarea.js:346)
  at OutputArea.handle_output (outputarea.js:257)
  at output (codecell.js:395)
  at Kernel._handle_output_message (kernel.js:1197)
  at proxy (jquery.min.js:10502)
1reaction
danthe3rdcommented, Apr 18, 2020

Closing because the last version pushed (0.1.8.post3) should work as intended 😃 Please update with pip install -U hiplot

Read more comments on GitHub >

github_iconTop Results From Across the Web

conda-forge - :: Anaconda.org
_ipython_minor_entry_point, 8.7.0, BSD-3-Clause, X, A console script for starting IPython with a specific python major/minor version.
Read more >
FreeBSD - DistroWatch.com
Notes: In case where multiple versions of a package are shipped with a distribution, only the default version appears in the table. For...
Read more >
Gprof2dot is not recognized as an internal or external ...
Gprof2dot is not recognized as an internal or external command operable program or batch file · 1 doc dev Apache-2.0 X The slightly...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found