Skip to content
Visualization-focused examples of using Python for specific topics
Jupyter Notebook Other
Branch: master
Clone or download
Latest commit a8bb47f Feb 13, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
attractors Move classes from .ipynb into attractors.py (#94) Feb 13, 2020
bay_trimesh Only include user-facing fields in zipped version of anaconda-project ( Aug 1, 2019
boids Only include user-facing fields in zipped version of anaconda-project ( Aug 1, 2019
census Update dask (#64) Oct 28, 2019
datashader_dashboard Update ds dashboard [build:datashader_dashboard] [build:website_release] Jan 16, 2020
doc Fixed typo on the 'make project' page [build:website_release] Dec 16, 2019
euler Only include user-facing fields in zipped version of anaconda-project ( Aug 1, 2019
gapminders Pinned gapminders back to altair3 [build:gapminders] Dec 12, 2019
gerrymandering Update dask (#64) Oct 28, 2019
glaciers Linting the projects that were failing in the cron job (#59) Aug 30, 2019
gull_tracking Converted image attachments to markdown images to avoid website build… Dec 6, 2019
heat_and_trees Adding heat and trees (#71) [build:website_release] Nov 20, 2019
hipster_dynamics Make a nice link in description (#73) Nov 20, 2019
iex_trading IEX example updates (#82) Feb 4, 2020
landsat Only include user-facing fields in zipped version of anaconda-project ( Aug 1, 2019
lsystems Only include user-facing fields in zipped version of anaconda-project ( Aug 1, 2019
ml_annotators Pinned param to avoid warnings in dev version Jan 31, 2020
network_packets Update dask (#64) Oct 28, 2019
nyc_taxi Linting the projects that were failing in the cron job (#59) Aug 30, 2019
opensky Linting the projects that were failing in the cron job (#59) Aug 30, 2019
osm Update dask (#64) Oct 28, 2019
portfolio_optimizer Fix a couple of typos. Nov 28, 2019
square_limit Only include user-facing fields in zipped version of anaconda-project ( Aug 1, 2019
sri_model Only include user-facing fields in zipped version of anaconda-project ( Aug 1, 2019
template Only include user-facing fields in zipped version of anaconda-project ( Aug 1, 2019
test_data Gull tracking [build:gull_tracking] (#78) Dec 6, 2019
uk_researchers Simplified project descriptions (#84) Dec 19, 2019
voila_gpx_viewer Simplified project descriptions (#84) Dec 19, 2019
walker_lake Converted walker lake topic notebook into project Jan 31, 2020
.gitignore Setting up website (#27) Jun 4, 2019
.travis.yml Added ml_annotators project (#85) Jan 13, 2020
README.md Clarified readme [build:website_release] Dec 6, 2019
dodo.py Added IEX trading example (#70) Nov 20, 2019
environment.yml Setting up website (#27) Jun 4, 2019
postBuild Setting up binder and improving docs (#28) Jun 4, 2019
tox.ini Added IEX trading example (#70) Nov 20, 2019

README.md

PyViz Topics Examples

This project contains self-contained, typically domain-specific examples illustrating how to use one or more PyViz tools to explore data or understand a topic. Each project is fully reproducible by downloading and running it locally, and can also be deployed automatically using an Anaconda Enterprise server.

Running Locally

To run an example locally first download it from https://examples.pyviz.org, unzip it, and cd into it. Then install anaconda-project and run the command defined in the anaconda-project.yml file:

conda install anaconda-project=0.8.3
anaconda-project run

Don't want to use anaconda-project?

anaconda-project is a handy way to automate a project, but if you don't want to use it, you can create a regular conda environment using:

conda env create --file anaconda-project.yml

Then activate the environment (be sure to replace env-name with the real name of the environment you created):

conda activate <env-name>

Then start a jupyter notebook as usual:

jupyter notebook

NOTE: If the notebook depends on data files, you will need to download them explicitly if you don't use anaconda-project, by extracting the URLs defined in anaconda-project.yml and saving the file(s) to the appropriate location in this directory.

Uploading to AE

In addition to running examples locally you can upload and share them using Anaconda Enterprise, which is the platform we use for publishing the public deployments. If you've already installed anaconda-project, then for an example named "bears" just do:

cd bears
anaconda-project archive bears.zip

Then in the AE interface select "Create", "Upload Project" and navigate to the zip file. Once your project has been created, you can deploy it.

Running on Binder

To experiment in a running environment, you can use binder:

Binder

Since the data involved is sometimes rather large, full datasets are not available on binder, but small versions of the datasets are included in the environment so that you can test things out.

You can’t perform that action at this time.