Skip to content

Commit

Permalink
Update curriculum to use Altair v4. (#9)
Browse files Browse the repository at this point in the history
* Update README for Altair v4.
* Update rangeStep use for Altair v4
* Update for Altair 4.
Co-authored-by: Hamel Husain <hamelsmu@github.com>
  • Loading branch information
jheer authored Jan 17, 2020
1 parent b2d198f commit a7fbeab
Show file tree
Hide file tree
Showing 9 changed files with 6,754 additions and 76,517 deletions.
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,11 @@ The visualization curriculum can be used either online or on your local computer

### Local Installation

1. [Install Altair and a notebook environment](https://altair-viz.github.io/getting_started/installation.html). The notebooks are written for _Altair v3.2_.
2. Copy the curriculum repository to your local filesystem using `git clone https://github.com/uwdata/visualization-curriculum.git`.
1. [Install Altair and a notebook environment](https://altair-viz.github.io/getting_started/installation.html). The most recent versions of these notebooks use _Altair version 4_.
2. Download the notebooks from the [releases page](https://github.com/uwdata/visualization-curriculum/releases). Typically you will want to use the most recent release. (If you wish to use notebooks for Altair version 3, download the [Altair v3.2 release](https://github.com/uwdata/visualization-curriculum/releases/tag/altair-v3).)
3. Open the notebooks in your local notebook environment. For example, if you have JupyterLab installed (v1.0 or higher is required), run `jupyter lab` within the directory containing the notebooks.

Depending on your programming environment, you may need to specify a particular [renderer](https://altair-viz.github.io/user_guide/renderers.html) for Altair.

- If you are using __JupyterLab__, __Google Colab__, or __nteract__ you should not need to do anything &mdash; the correct renderer will be enabled by default.
- If you are using __Jupyter Notebook__, you need to enable the notebook renderer by invoking the following code: `alt.renderers.enable('notebook')`.
Depending on your programming environment (and whether or not you have a live internet connection), you may want to specify a particular [renderer](https://altair-viz.github.io/user_guide/display_frontends.html) for Altair.

## Credits

Expand Down
2,290 changes: 751 additions & 1,539 deletions altair_cartographic.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion altair_data_transformation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -59828,7 +59828,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.3"
"version": "3.7.1"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit a7fbeab

Please sign in to comment.