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 0.1.17] streamlit component demo

See original GitHub issue

Tried to follow instructions here: https://facebookresearch.github.io/hiplot/tuto_streamlit.html#tutostreamlit but keep hitting

image

when I downloaded the bundle mentioned in the link, and include it, nothing changes. am I putting it in the wrong spot? Or is it referring to a different bundle?

Dockerfile:

FROM python:3.8-slim
RUN pip install -U streamlit
RUN pip install -U hiplot

# lines below have all been experimental to try to debug.
#USER root
# streamlit-specific commands
RUN mkdir -p $HOME/.streamlit
RUN bash -c 'echo -e "\
        [general]\n\
        email = \"\"\n\
        " > $HOME/.streamlit/credentials.toml'
RUN bash -c 'echo -e "\
        [server]\n\
        enableCORS = false\n\
        " > $HOME/.streamlit/config.toml'

COPY hiplot.bundle.js /usr/local/lib/python3.8/site-packages/hiplot/static/built/hiplot.bundle.js

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
mathematicalmichaelcommented, Jul 14, 2020

@danthe3rd much appreciated. It’s an exciting project but it’s just far from the first time I got excited about something cool only to find the basic demo not working, so my frustrations aren’t solely directed at y’all so much as the industry. I am well aware there’s a price to pay for early adoption and just keep trying it anyway.

demo’s working now! props to being so quick to push a fix. That’s one thing I have definitely noticed about FB’s products so far: issues get tackled very quickly.

1reaction
mathematicalmichaelcommented, Jul 14, 2020

out of curiosity… did you take inspiration from this: http://bl.ocks.org/syntagmatic/raw/3150059/ ? Check out the parasol.js library? source code doesn’t look all too similar but the styling does. I only ask because I myself have sunk a ton of effort into good + reusable parallel-plot viz (demo: https://dev.mathfight.club), and started with that blocks snippet.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HiPlot 0.1.33 documentation
HiPlot component for Streamlit · NPM library (javascript) · Python classes reference · Displays reference · Building HiPlot from source.
Read more >
HiPlot integration - Streamlit Components
I am a developer of HiPlot (GitHub - facebookresearch/hiplot: HiPlot makes understanding high dimensional data easy), an interactive ...
Read more >
HiPlot 是一款轻巧的交互式可视化工具 - Gitee
HiPlot is a lightweight interactive visualization tool to help AI researchers discover correlations and patterns in high-dimensional data using parallel plots ...
Read more >
How to build a Streamlit component - Part 1 - YouTube
In part 1 of this 2-part series on building Streamlit components, Tim goes over project setup, environment configuration, and the Streamlit ...
Read more >
HiPlot makes understanding high dimensional data easy
facebookresearch/hiplot, HiPlot - High dimensional Interactive Plotting HiPlot is ... Not only does it affect the Streamlit component, but also considerably ...
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