Skip to content

Commit

Permalink
voilaficatoin
Browse files Browse the repository at this point in the history
  • Loading branch information
choldgraf committed Apr 13, 2019
1 parent a97b631 commit b55a368
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 452 deletions.
12 changes: 10 additions & 2 deletions README.md
Expand Up @@ -5,7 +5,15 @@ is draw a circle, then take some random points in the bounds defined by the
circle. The ratio of the points inside the circle to the total number of
points will be equal to Pi.

This notebook shows how you can simulate this using `ipywidgets` and `bqplot`.
This notebook shows simulates this with:

* [**Voila**](https://github.com/quantstack/voila) to interactively build a dashboard from
the [simulate_pi notebook](simulate_pi.ipynb)
* [**ipywidgets**](https://github.com/jupyter-widgets/ipywidgets) to build the
components of the dashboard
* [**bqplot**](https://github.com/bloomberg/bqplot) to create interactive, widget-friendly
visualizations.

Click the Binder link below, and you can play with this interactively:

[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/choldgraf/pisim/master?urlpath=apps%2Fsimulate_pi.ipynb)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/choldgraf/pisim/master?urlpath=voila%2Fsimulate_pi.ipynb)
1 change: 1 addition & 0 deletions environment.yml
Expand Up @@ -6,3 +6,4 @@ dependencies:
- numpy
- ipywidgets
- matplotlib
- voila

0 comments on commit b55a368

Please sign in to comment.