-
-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Binder button to try the tutorials online #536
Comments
Cool! Definitely a worthwhile suggestion... I have considered Binder for HoloViews before. The reason I hesitated to try it is that I don't know how much computing power Binder offers for free and I was wondering whether the performance would be good enough. I also don't want to abuse a free service too much! :-) Anyway, I would be happy to add this if @philippjfr also agrees this is a good idea. We could always try it and if it works well link to it from the website. If nothing else, this would be really nice for the dynamic map tutorial... |
Definitely sounds like a good idea. Submit a PR and we can try it out, if it works well we'll add a link to the readme and homepage. |
See here: http://mybinder.org/repo/basnijholt/holoviews Here is the link you can add:
in
|
See #568 At the moment the Binder env automatically opens in Python 2, you should switch to a Python 3 kernel. I'll ask the Binder guys why this happens, seems like a bug. |
Or could you just specify python=2.7 in the environment, so that it would work? The tutorials should work with either one... |
I just had a go running the notebooks in |
Presumably we need to add holoviews to the yaml so it'll get the latest release of holoviews. |
That is because you didn't change to the Python 3 kernel.
Same thing. Changing it to Python 2.7 will probably solve this issue like @jbednar suggested. |
I see, thanks. Would be great if you could update your PR then I'll merge it right away. |
Done 👍 |
When I try http://mybinder.org/repo/basnijholt/holoviews now it still only works when switching to Python3. Is it cached or is binder just not behaving correctly? |
It’s because I didn’t recompile the image at: EDIT: just tested, it works fine :) |
Thanks, works fine for me too. Will merge now. |
I'm not sure why we didn't finish following up on this issue but it might be due to us being busy writing up our PhDs! Anyway, I've added a mybinder badge in cfd63ed and I've checked it works ok. I've not noticed any problems with it - other than being a bit slow. Thanks @basnijholt for the PR and sorry for not adding the badge sooner! With that, I'll close this issue. |
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. |
It's adding one simple file called environment.yml to the base folder:
You could then run the tutorials from Binder. I'll create a pull request if you like.
The text was updated successfully, but these errors were encountered: