Comments (9)
Just tried this in a conda environment.
from ipyvega.
Does it work if you run jupyter nbextension install --sys-prefix --py vega
before starting the kernel?
from ipyvega.
That should work. Can you try the example notebook in this repo? Can you try to restart the browser? Any errors in the browser console?
from ipyvega.
Thanks for picking this up quickly!
- Try the notebook in this repo: Yes, I'm getting the same unexpected behaviour.
- Restart the browser: I tried, it doesn't help. I also get this behaviour on two different browsers (Firefox and Chromium). A collaborator of mine had the same issue on a different machine with a different OS (Windows).
- Any errors in the browser console? I have some, but it's not clear to me they come from this error:
tried to detect trackers before rules were loaded background.js:450
getTrackerData moz-extension://25dab8af-a127-4050-8335-23a0a75b30f2/public/js/background.js:450
handleRequest moz-extension://25dab8af-a127-4050-8335-23a0a75b30f2/public/js/background.js:21181
apply self-hosted:2732
applySafeWithoutClone resource://gre/modules/ExtensionCommon.jsm:626
fire resource://gre/modules/ExtensionChild.jsm:806
recvRunListener resource://gre/modules/ExtensionChild.jsm:810
recvRunListener self-hosted:1175
_recv resource://gre/modules/ConduitsChild.jsm:78
receiveMessage resource://gre/modules/ConduitsChild.jsm:184
run resource://gre/modules/ConduitsChild.jsm:175
receiveMessage resource://gre/modules/ConduitsChild.jsm:176
map self-hosted:221
receiveMessage resource://gre/modules/ConduitsChild.jsm:176
this.trackerList is undefined background.js:524
findTracker moz-extension://25dab8af-a127-4050-8335-23a0a75b30f2/public/js/background.js:524
isTracker moz-extension://25dab8af-a127-4050-8335-23a0a75b30f2/public/js/background.js:22300
truncateReferrer moz-extension://25dab8af-a127-4050-8335-23a0a75b30f2/public/js/background.js:22527
limitReferrerData moz-extension://25dab8af-a127-4050-8335-23a0a75b30f2/public/js/background.js:18413
apply self-hosted:2732
applySafeWithoutClone resource://gre/modules/ExtensionCommon.jsm:626
fire resource://gre/modules/ExtensionChild.jsm:806
recvRunListener resource://gre/modules/ExtensionChild.jsm:810
recvRunListener self-hosted:1175
_recv resource://gre/modules/ConduitsChild.jsm:78
receiveMessage resource://gre/modules/ConduitsChild.jsm:184
run resource://gre/modules/ConduitsChild.jsm:175
receiveMessage resource://gre/modules/ConduitsChild.jsm:176
map self-hosted:221
receiveMessage resource://gre/modules/ConduitsChild.jsm:176
from ipyvega.
I don't know how to help then. I suspect this is another issue with the setup and not a bug in the library.
from ipyvega.
Well thanks for the help! I assume you cannot reproduce this on your end?
from ipyvega.
OK, thanks! I'll ask around and see if I can reproduce it with pip on another system.
from ipyvega.
I think there's something missing in the pip
installation instructions.
I created a new Dockerfile:
FROM ubuntu:latest
RUN apt-get update && apt-get -y update
RUN apt-get install -y build-essential python3.6 python3-pip python3-dev firefox wget
RUN pip3 -q install pip --upgrade
RUN pip3 -q install jupyter pandas vega
RUN pip3 -q install --upgrade notebook
RUN wget https://raw.githubusercontent.com/vega/ipyvega/master/notebooks/cars.json
then launched it with gui enabled:
docker build -t issue-354 .
xhost + # Don't forget to `xhost -` afterwards
docker run -it --env="DISPLAY" --net=host issue-354 # We should now be inside the container
jupyter notebook --allow-root # firefox should now launch with a notebook
This reproduces the behaviour I described, the image doesn't appear.
from ipyvega.
Thanks, esp. for the quick replies! I confirm that now works (in the container and on my machine).
I was thrown off by the qualification: '# not needed in notebook >= 5.3'.
Maybe we ought to do it always anyway?
from ipyvega.
Related Issues (20)
- Altair's "notebook" renderer is no longer working HOT 10
- vegalite no longer working with pandas 1.0 or later version HOT 6
- Wheel installs extraneous 'test' script
- Update to Vega-Lite 5 HOT 1
- Communicate selections back to Python HOT 1
- VegaWidget not updating properly HOT 11
- Improve serialization of Pandas DataFrames to ipyvega HOT 3
- Make the conda package noarch HOT 3
- VegaWidget doesn't appear to work with ipywidgets.embed HOT 4
- Jupyter notebook is not displaying charts inline HOT 10
- 404 error when rendering HOT 5
- Support Jupyterlab HOT 4
- vega_datasets should be a dev dependency
- Resolve deprecation warning HOT 1
- What is uploaded? HOT 1
- Update Galata HOT 1
- Make new release
- Move dependencies from ui-tests to main package.json HOT 4
- pandas-2.0 support ? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipyvega.