Skip to main content

This package is currently under development and not yet ready for download from PyPI

https://travis-ci.org/pyviz/pyviz.svg?branch=master https://ci.appveyor.com/api/projects/status/7xhtku2yjux40hwq/branch/master?svg=true

How to solve visualization problems with Python tools

This repository provides examples, demos, and training materials documenting how to solve visualization problems using web-based Python tools supported by Anaconda, including Bokeh, HoloViews, GeoViews, Datashader, and Param.

It includes a shared conda environment that ensures all these tools work together, facilities for downloading sample data for use with these tools, and provides starting points for solving your own visualization problems.

Installation

Step 1: Clone the pyviz repository

  • Any Linux, Mac OS X, or Windows computer with a web browser should work. We recommend Chrome, but other browsers should also work.

  • 16GB of RAM is required for some of the examples, but most will run fine in 4GB.

  • Clone this repository, e.g. using git clone https://github.com/pyviz/pyviz.git

  • Open a terminal window inside your clone of the repository.

Step 2: Create a conda environment from environment.yml

If you don’t already have it, install conda, and then create the pyviz environment by executing:

> conda env create --force -f environment.yml

When installation is complete you may activate the environment by writing:

> activate pyviz

(for Windows) or:

$ source activate pyviz

(for Linux and Mac).

Later, when you are ready to exit the environment after the tutorial, you can type:

> deactivate

If for some reason you want to remove the environment entirely, you can do so by writing:

> conda env remove --name pyviz

Step 3: Downloading the sample data

In this tutorial we will be showing you how to work with some fairly large datasets. Unfortunately, that also means that you have to download this data. To make this as easy as possible we have provided a script that will download the data for you. Simply execute in the root of your clone of this repository:

> python download_sample_data.py

Step 4: Launch Jupyter Notebook

You can then launch the notebook server and client:

(pyviz)> jupyter notebook

A browser window with a Jupyter Notebook instance should now open, letting you select and execute each notebook. You can start with the ones in the “notebooks” subdirectory, as these show how to use the others in the “exercises” directory along with the applications in the “apps” directory.

If you don’t see the notebook appear (e.g. on some OS X versions), you’ll need to cut and paste the URL from the console output manually.

Step 5: Test that everything is working

You can see if everything has installed correctly by selecting the 00-welcome.ipynb notebook and doing “Cell/Run All” in the menus. There may be warnings on some platforms, but you’ll know it is working if you see the HoloViews logo after it runs hv.extension().

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyviz-0.9.1.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file pyviz-0.9.1.tar.gz.

File metadata

  • Download URL: pyviz-0.9.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyviz-0.9.1.tar.gz
Algorithm Hash digest
SHA256 491b348217885646dbd51379c3b1c392d0b626a188ea59f8172eba1edee6373a
MD5 b12c5dfcc794dc7cd962f10cbb85aeea
BLAKE2b-256 06c6f6afb7c620123d213ad38edf87194b0540891a2c61b0c6bdbbf647254ca3

See more details on using hashes here.

Release history Release notifications | RSS feed

0.10.3

2 files

0.10.2

2 files

0.10.1

2 files

0.10.0

1 file

This release

0.9.1 This release

1 file

0.9

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page