Skip to content

Commit 07a8a07

Browse files
authored
Merge pull request ProjectPythia#29 from ProjectPythia/interactive_plots
Get the "Interactive Plots" to work and show up
2 parents d63fcbf + ace669f commit 07a8a07

9 files changed

+770
-463
lines changed

CITATION.cff

+15
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,21 @@ authors:
1111
orcid: https://orcid.org/0000-0002-2666-8493
1212
website: https://github.com/anissa111
1313
affiliation: UCAR/NCAR
14+
- family-names: Eroglu
15+
given-names: Orhan
16+
orcid: https://orcid.org/0000-0003-3099-8775
17+
website: https://github.com/erogluorhan
18+
affiliation: UCAR/NCAR
19+
- family-names: Chmielowiec
20+
given-names: Philip
21+
orcid:
22+
website: https://github.com/philipc2
23+
affiliation: UCAR/NCAR
24+
- family-names: Clyne
25+
given-names: John
26+
orcid: https://orcid.org/0000-0003-2788-9017
27+
website: https://github.com/clyne
28+
affiliation: UCAR/NCAR
1429
- name: "Advanced Visualization Cookbook contributors" # use the 'name' field to acknowledge organizations
1530
website: "https://github.com/ProjectPythia/advanced-viz-cookbook/graphs/contributors"
1631
title: "Advanced Visualization Cookbook"

README.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ This Project Pythia Cookbook covers advanced visualization techniques building u
99

1010
## Motivation
1111

12-
The possibilities of data visualization in Python are almost endless. Already using `matplotlib` the workhorse behind many visualization packages, the user has a lot of customization options available to them. `cartopy`, `metpy`, `seaborn`, `geocat-viz`, and `datashader` are all also great packages that can offer unique additions to your Python visualization toolbox.
12+
The possibilities of data visualization in Python are almost endless. Already using `matplotlib` the workhorse behind many visualization packages, the user has a lot of customization options available to them. `cartopy`, `metpy`, `seaborn`, `geocat-viz`, and `datashader` are all also great packages that can offer unique additions to your Python visualization toolbox.
1313

14-
This Cookbook will house various visualization workflow examples that use different visualization packages, highlight the differences in functionality between the packages, any noteable syntax distinctions, and demonstrate combining tools to achieve a specific outcome.
14+
This Cookbook will house various visualization workflow examples that use different visualization packages, highlight the differences in functionality between the packages, any noteable syntax distinctions, and demonstrate combining tools to achieve a specific outcome.
1515

1616
## Authors
1717

18-
[Julia Kent](@jukent), [Anissa Zacharias](@anissa111)
18+
[Julia Kent](@jukent), [Anissa Zacharias](@anissa111), [Orhan Eroglu](@erogluorhan), [Philip Chmielowiec](@philipc2), [John Clyne](@clyne)
1919

2020
### Contributors
2121

@@ -43,6 +43,10 @@ In this section we will demonstrate how to visualize data that is on a structure
4343

4444
Animated plots are great tools for science communication and outreach. We will demonstrate how to make your plots come to life. In this book, we use "animated plots" to refer to stable animations, such as the creation of gifs or videos.
4545

46+
### Interactivity
47+
48+
Dynamically rendering, animating, panning & zooming over a plot can be great to increase data fidelity. We will showcase how to use Holoviz technologies with Bokeh backend to create interactive plots, utilizing an unstructured grid data in the Model for Prediction Across Scales (MPAS) format.
49+
4650
## Running the Notebooks
4751

4852
You can either run the notebook using [Binder](https://binder.projectpythia.org/) or on your local machine.

_toc.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ parts:
66
- file: notebooks/how-to-cite
77
- caption: Basics of Geoscience Visualization
88
chapters:
9-
- file: notebooks/comparison
10-
- file: notebooks/good-viz
11-
- file: notebooks/plot-elements
9+
- file: notebooks/comparison
10+
- file: notebooks/good-viz
11+
- file: notebooks/plot-elements
1212
- caption: Specialty Plots
1313
chapters:
1414
- file: notebooks/taylor-diagrams
1515
- file: notebooks/skewt
1616
- caption: Visualization of Structured Grids
1717
chapters:
1818
- file: notebooks/spaghetti
19-
- caption: Interactive Visualization
20-
chapters:
21-
- file: notebooks/mpas-datshader
2219
- caption: Animation
2320
chapters:
2421
- file: notebooks/animation
22+
- caption: Interactivity
23+
chapters:
24+
- file: notebooks/interactive-holoviz-mpas

environment.yml

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ dependencies:
1818
- uxarray
1919
- datashader
2020
- geocat-datafiles
21+
- geoviews
2122
- tropycal
2223
- pip
2324
- pip:

notebooks/animation.ipynb

+4-2
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,9 @@
469469
"\n",
470470
"Creating animations in `matplotlib` might seem intimidating, but is easier when you know the options and purpose of each method. These visualizations can be a powerful tool to display and understand time-dependent data.\n",
471471
"\n",
472-
"### What's next?\n"
472+
"### What's next?\n",
473+
"\n",
474+
"In the final section of this cookbook, let’s look at [interactive plotting with Holoviz](interactive-holoviz-mpas) tools."
473475
]
474476
},
475477
{
@@ -504,7 +506,7 @@
504506
"name": "python",
505507
"nbconvert_exporter": "python",
506508
"pygments_lexer": "ipython3",
507-
"version": "3.10.12"
509+
"version": "3.11.6"
508510
}
509511
},
510512
"nbformat": 4,
735 KB
Loading
119 KB
Loading

0 commit comments

Comments
 (0)