Skip to main content
**This package is currently under development and not yet ready for download from PyPI**


.. image:: https://travis-ci.org/pyviz/pyviz.svg?branch=master
:target: https://travis-ci.org/pyviz/pyviz

.. image:: https://ci.appveyor.com/api/projects/status/7xhtku2yjux40hwq/branch/master?svg=true
:target: https://ci.appveyor.com/project/pyviz/pyviz/branch/master


=====================================================
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 <http://anaconda.com>`_, including
`Bokeh <http://bokeh.pydata.org>`_,
`HoloViews <http://holoviews.org>`_,
`GeoViews <http://geo.holoviews.org>`_,
`Datashader <https://github.com/bokeh/datashader>`_, and
`Param <https://github.com/ioam/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 <https://github.com/pyviz/pyviz/blob/master/README.rst>`_ 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
<https://www.continuum.io/downloads>`_, 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.tar.gz (3.2 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pyviz-0.9.tar.gz
Algorithm Hash digest
SHA256 99da24cf9c01686b0e9bb69081d13aa0d8822b3d484dfb596edc21882c2a71f0
MD5 f9860fa89a3f37266736414030f80c20
BLAKE2b-256 2927283195e2d4b74c74650b01eef06d5a0acec7265313523bfe3e3b95635665

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

0.9.1

1 file

This release

0.9 This release

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