TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Embedding D3 in an IPython Notebook

72 pointsby c_moscardiover 9 years ago

6 comments

spotover 9 years ago
Beaker Notebook has much cleaner support for integrating d3 (or any JS lib) with Python or other languages: <a href="http:&#x2F;&#x2F;sharing.beakernotebook.com&#x2F;gist&#x2F;anonymous&#x2F;e21582541d7c1fe60eb4" rel="nofollow">http:&#x2F;&#x2F;sharing.beakernotebook.com&#x2F;gist&#x2F;anonymous&#x2F;e21582541d7...</a><p>learn more at <a href="http:&#x2F;&#x2F;BeakerNotebook.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;BeakerNotebook.com&#x2F;</a>
评论 #10129457 未加载
评论 #10130952 未加载
评论 #10130259 未加载
评论 #10130880 未加载
评论 #10128965 未加载
teamonkeyover 9 years ago
The Jupyter web page is a fine example of reverse information distribution. I went from&quot; I think I know what this is&quot; to &quot;I have no idea what this is&quot; within seconds of the page loading.
评论 #10128581 未加载
评论 #10128695 未加载
rasmiover 9 years ago
FYI, the latest Jupyter + matplotlib have interactive plotting inline with &quot;%matplotlib notebook&quot;. The server must be running for this to work (so you can&#x27;t interact with static ipynb files in nbviewer, for example), but a static version of the plot is generated for static notebooks. There are also some changes coming down the line to expose the traits of matplotlib plots so that libraries like mpld3 can be integrated more seamlessly.<p>(Also, Hi Christian!)
评论 #10133813 未加载
评论 #10130851 未加载
nlover 9 years ago
Interestingly, Zeppelin (a competitor to IPython&#x2F;Jupyter mostly aimed at use with Spark) uses D3 for most of its visualizations.<p>IMHO Jupyter is actually easier to get working (even with Spark support) though.<p>[1] <a href="https:&#x2F;&#x2F;zeppelin.incubator.apache.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;zeppelin.incubator.apache.org&#x2F;</a>
NelsonMinarover 9 years ago
IPython feels like an important new way to do computing, particularly for exploring and teaching. I love the idea of bringing more powerful HTML tools into it.
fokzover 9 years ago
I was wondering if your page menu accept input, and it really does. So cool!
评论 #10129439 未加载