Skip to content

Commit

Permalink
deploy: 35df196
Browse files Browse the repository at this point in the history
  • Loading branch information
jukent committed Nov 28, 2023
1 parent 09a47eb commit e3815a1
Show file tree
Hide file tree
Showing 24 changed files with 2,751 additions and 308 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 6444c9983e11097ac6d540d8de67f4e0
config: dfeb1eb70e71c2e1336c42cfdb4813e9
tags: 645f666f9bcd5a90fca523b33c5a78b7
5 changes: 2 additions & 3 deletions README.html
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,7 @@
<a class="reference internal image-reference" href="_images/thumbnail.png"><img alt="thumbnail" src="_images/thumbnail.png" style="width: 300px;" /></a>
<div class="tex2jax_ignore mathjax_ignore section" id="advanced-visualization-cookbook">
<h1>Advanced Visualization Cookbook<a class="headerlink" href="#advanced-visualization-cookbook" title="Permalink to this headline"><i class="fas fa-link"></i></a></h1>
<p><a class="reference external" href="https://github.com/ProjectPythia/advanced-viz-cookbook/actions/workflows/nightly-build.yaml"><img alt="nightly-build" src="https://github.com/ProjectPythia/advanced-viz-cookbook-template/actions/workflows/nightly-build.yaml/badge.svg" /></a>
<a class="reference external" href="https://binder.projectpythia.org/v2/gh/ProjectPythia/advanced-viz-cookbook/main?labpath=notebooks"><img alt="Binder" src="https://binder.projectpythia.org/badge_logo.svg" /></a>
<p><a class="reference external" href="https://binder.projectpythia.org/v2/gh/ProjectPythia/advanced-viz-cookbook/main?labpath=notebooks"><img alt="Binder" src="https://binder.projectpythia.org/badge_logo.svg" /></a>
<a class="reference external" href="https://zenodo.org/badge/latestdoi/671205314"><img alt="DOI" src="https://zenodo.org/badge/671205314.svg" /></a></p>
<p>This Project Pythia Cookbook covers advanced visualization techniques building upon and combining various Python packages.</p>
<div class="section" id="motivation">
Expand Down Expand Up @@ -624,7 +623,7 @@ <h3>Running on Your Own Machine<a class="headerlink" href="#running-on-your-own-

By the <a href="https://projectpythia.org/">Project Pythia</a> Community.

Last updated on 22 November 2023.
Last updated on 28 November 2023.
</p>
</div>
</div>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion _sources/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# Advanced Visualization Cookbook

[![nightly-build](https://github.com/ProjectPythia/advanced-viz-cookbook-template/actions/workflows/nightly-build.yaml/badge.svg)](https://github.com/ProjectPythia/advanced-viz-cookbook/actions/workflows/nightly-build.yaml)
[![Binder](https://binder.projectpythia.org/badge_logo.svg)](https://binder.projectpythia.org/v2/gh/ProjectPythia/advanced-viz-cookbook/main?labpath=notebooks)
[![DOI](https://zenodo.org/badge/671205314.svg)](https://zenodo.org/badge/latestdoi/671205314)

Expand Down
4 changes: 2 additions & 2 deletions _sources/notebooks/good-viz.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@
"\n",
"### What's next?\n",
"\n",
"[Plot Elements](plot-elements)\n"
"Let's break down the different components of data visualization in [Plot Elements](plot-elements).\n"
]
},
{
Expand All @@ -296,7 +296,7 @@
"- [Same Stats Different Graphs: Generating Datasets with Varied Appearance and\n",
"Identical Statistics through Simulated Annealing](https://www.research.autodesk.com/app/uploads/2023/03/same-stats-different-graphs.pdf_rec2hRjLLGgM7Cn2T.pdf)\n",
"- Alberto Cairo's How Charts Lie: Getting Smarter about Visual Information\n",
"- [Misleading Data Visualization – What to Avoid](https://blog.coupler.io/misleading-data-visualization-examples/#:~:text=A%20very%20common%20misleading%20data,truncated%20graph%20might%20distort%20data.)"
"- [Misleading Data Visualization – What to Avoid](https://blog.coupler.io/misleading-data-visualization-examples/)"
]
}
],
Expand Down
2 changes: 1 addition & 1 deletion _sources/notebooks/plot-elements.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
"\n",
"### What's next?\n",
"\n",
"[Specialty Plots: Taylor Diagrams](taylor-diagrams)"
"Next up, the specialty plots called [Taylor Diagrams](taylor-diagrams)."
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion _sources/notebooks/spagetti.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@
"\n",
"### What's next?\n",
"\n",
"Next up let's discuss elements of [Visualization of Unstructured Grids](uxarray)."
"Next up let's discuss [Animation](animation)."
]
},
{
Expand Down
448 changes: 331 additions & 117 deletions _sources/notebooks/taylor-diagrams.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ <h1 id="index">Index</h1>

By the <a href="https://projectpythia.org/">Project Pythia</a> Community.

Last updated on 22 November 2023.
Last updated on 28 November 2023.
</p>
</div>
</div>
Expand Down
96 changes: 48 additions & 48 deletions notebooks/animation.html
Original file line number Diff line number Diff line change
Expand Up @@ -720,42 +720,42 @@ <h3>Get the images into a list<a class="headerlink" href="#get-the-images-into-a
</style>

<div class="animation">
<img id="_anim_img05a28cd4339a4fa2956604d77ce19e5b">
<img id="_anim_img8de70a1bc57446c4935bdca01c96159b">
<div class="anim-controls">
<input id="_anim_slider05a28cd4339a4fa2956604d77ce19e5b" type="range" class="anim-slider"
<input id="_anim_slider8de70a1bc57446c4935bdca01c96159b" type="range" class="anim-slider"
name="points" min="0" max="1" step="1" value="0"
oninput="anim05a28cd4339a4fa2956604d77ce19e5b.set_frame(parseInt(this.value));">
oninput="anim8de70a1bc57446c4935bdca01c96159b.set_frame(parseInt(this.value));">
<div class="anim-buttons">
<button title="Decrease speed" aria-label="Decrease speed" onclick="anim05a28cd4339a4fa2956604d77ce19e5b.slower()">
<button title="Decrease speed" aria-label="Decrease speed" onclick="anim8de70a1bc57446c4935bdca01c96159b.slower()">
<i class="fa fa-minus"></i></button>
<button title="First frame" aria-label="First frame" onclick="anim05a28cd4339a4fa2956604d77ce19e5b.first_frame()">
<button title="First frame" aria-label="First frame" onclick="anim8de70a1bc57446c4935bdca01c96159b.first_frame()">
<i class="fa fa-fast-backward"></i></button>
<button title="Previous frame" aria-label="Previous frame" onclick="anim05a28cd4339a4fa2956604d77ce19e5b.previous_frame()">
<button title="Previous frame" aria-label="Previous frame" onclick="anim8de70a1bc57446c4935bdca01c96159b.previous_frame()">
<i class="fa fa-step-backward"></i></button>
<button title="Play backwards" aria-label="Play backwards" onclick="anim05a28cd4339a4fa2956604d77ce19e5b.reverse_animation()">
<button title="Play backwards" aria-label="Play backwards" onclick="anim8de70a1bc57446c4935bdca01c96159b.reverse_animation()">
<i class="fa fa-play fa-flip-horizontal"></i></button>
<button title="Pause" aria-label="Pause" onclick="anim05a28cd4339a4fa2956604d77ce19e5b.pause_animation()">
<button title="Pause" aria-label="Pause" onclick="anim8de70a1bc57446c4935bdca01c96159b.pause_animation()">
<i class="fa fa-pause"></i></button>
<button title="Play" aria-label="Play" onclick="anim05a28cd4339a4fa2956604d77ce19e5b.play_animation()">
<button title="Play" aria-label="Play" onclick="anim8de70a1bc57446c4935bdca01c96159b.play_animation()">
<i class="fa fa-play"></i></button>
<button title="Next frame" aria-label="Next frame" onclick="anim05a28cd4339a4fa2956604d77ce19e5b.next_frame()">
<button title="Next frame" aria-label="Next frame" onclick="anim8de70a1bc57446c4935bdca01c96159b.next_frame()">
<i class="fa fa-step-forward"></i></button>
<button title="Last frame" aria-label="Last frame" onclick="anim05a28cd4339a4fa2956604d77ce19e5b.last_frame()">
<button title="Last frame" aria-label="Last frame" onclick="anim8de70a1bc57446c4935bdca01c96159b.last_frame()">
<i class="fa fa-fast-forward"></i></button>
<button title="Increase speed" aria-label="Increase speed" onclick="anim05a28cd4339a4fa2956604d77ce19e5b.faster()">
<button title="Increase speed" aria-label="Increase speed" onclick="anim8de70a1bc57446c4935bdca01c96159b.faster()">
<i class="fa fa-plus"></i></button>
</div>
<form title="Repetition mode" aria-label="Repetition mode" action="#n" name="_anim_loop_select05a28cd4339a4fa2956604d77ce19e5b"
<form title="Repetition mode" aria-label="Repetition mode" action="#n" name="_anim_loop_select8de70a1bc57446c4935bdca01c96159b"
class="anim-state">
<input type="radio" name="state" value="once" id="_anim_radio1_05a28cd4339a4fa2956604d77ce19e5b"
<input type="radio" name="state" value="once" id="_anim_radio1_8de70a1bc57446c4935bdca01c96159b"
>
<label for="_anim_radio1_05a28cd4339a4fa2956604d77ce19e5b">Once</label>
<input type="radio" name="state" value="loop" id="_anim_radio2_05a28cd4339a4fa2956604d77ce19e5b"
<label for="_anim_radio1_8de70a1bc57446c4935bdca01c96159b">Once</label>
<input type="radio" name="state" value="loop" id="_anim_radio2_8de70a1bc57446c4935bdca01c96159b"
checked>
<label for="_anim_radio2_05a28cd4339a4fa2956604d77ce19e5b">Loop</label>
<input type="radio" name="state" value="reflect" id="_anim_radio3_05a28cd4339a4fa2956604d77ce19e5b"
<label for="_anim_radio2_8de70a1bc57446c4935bdca01c96159b">Loop</label>
<input type="radio" name="state" value="reflect" id="_anim_radio3_8de70a1bc57446c4935bdca01c96159b"
>
<label for="_anim_radio3_05a28cd4339a4fa2956604d77ce19e5b">Reflect</label>
<label for="_anim_radio3_8de70a1bc57446c4935bdca01c96159b">Reflect</label>
</form>
</div>
</div>
Expand All @@ -765,9 +765,9 @@ <h3>Get the images into a list<a class="headerlink" href="#get-the-images-into-a
/* Instantiate the Animation class. */
/* The IDs given should match those used in the template above. */
(function() {
var img_id = "_anim_img05a28cd4339a4fa2956604d77ce19e5b";
var slider_id = "_anim_slider05a28cd4339a4fa2956604d77ce19e5b";
var loop_select_id = "_anim_loop_select05a28cd4339a4fa2956604d77ce19e5b";
var img_id = "_anim_img8de70a1bc57446c4935bdca01c96159b";
var slider_id = "_anim_slider8de70a1bc57446c4935bdca01c96159b";
var loop_select_id = "_anim_loop_select8de70a1bc57446c4935bdca01c96159b";
var frames = new Array(24);

frames[0] = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAaAAAAD6CAYAAADnVJN8AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90\
Expand Down Expand Up @@ -103222,7 +103222,7 @@ <h3>Get the images into a list<a class="headerlink" href="#get-the-images-into-a
/* set a timeout to make sure all the above elements are created before
the object is initialized. */
setTimeout(function() {
anim05a28cd4339a4fa2956604d77ce19e5b = new Animation(frames, img_id, slider_id, 80.0,
anim8de70a1bc57446c4935bdca01c96159b = new Animation(frames, img_id, slider_id, 80.0,
loop_select_id);
}, 0);
})()
Expand Down Expand Up @@ -103289,7 +103289,7 @@ <h2>Function animation<a class="headerlink" href="#function-animation" title="Pe
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/usr/share/miniconda3/envs/cookbook-dev/lib/python3.10/site-packages/cartopy/io/__init__.py:241: DownloadWarning: Downloading: https://naturalearth.s3.amazonaws.com/110m_physical/ne_110m_coastline.zip
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/home/runner/miniconda3/envs/advanced-viz-cookbook/lib/python3.10/site-packages/cartopy/io/__init__.py:241: DownloadWarning: Downloading: https://naturalearth.s3.amazonaws.com/110m_physical/ne_110m_coastline.zip
warnings.warn(f&#39;Downloading: {url}&#39;, DownloadWarning)
</pre></div>
</div>
Expand Down Expand Up @@ -103488,42 +103488,42 @@ <h2>Function animation<a class="headerlink" href="#function-animation" title="Pe
</style>

<div class="animation">
<img id="_anim_img3d4a9adf3bbd4552a234bf1101adc6f6">
<img id="_anim_imge226de5450e84faf8b473f1d1d0bdaf7">
<div class="anim-controls">
<input id="_anim_slider3d4a9adf3bbd4552a234bf1101adc6f6" type="range" class="anim-slider"
<input id="_anim_slidere226de5450e84faf8b473f1d1d0bdaf7" type="range" class="anim-slider"
name="points" min="0" max="1" step="1" value="0"
oninput="anim3d4a9adf3bbd4552a234bf1101adc6f6.set_frame(parseInt(this.value));">
oninput="anime226de5450e84faf8b473f1d1d0bdaf7.set_frame(parseInt(this.value));">
<div class="anim-buttons">
<button title="Decrease speed" aria-label="Decrease speed" onclick="anim3d4a9adf3bbd4552a234bf1101adc6f6.slower()">
<button title="Decrease speed" aria-label="Decrease speed" onclick="anime226de5450e84faf8b473f1d1d0bdaf7.slower()">
<i class="fa fa-minus"></i></button>
<button title="First frame" aria-label="First frame" onclick="anim3d4a9adf3bbd4552a234bf1101adc6f6.first_frame()">
<button title="First frame" aria-label="First frame" onclick="anime226de5450e84faf8b473f1d1d0bdaf7.first_frame()">
<i class="fa fa-fast-backward"></i></button>
<button title="Previous frame" aria-label="Previous frame" onclick="anim3d4a9adf3bbd4552a234bf1101adc6f6.previous_frame()">
<button title="Previous frame" aria-label="Previous frame" onclick="anime226de5450e84faf8b473f1d1d0bdaf7.previous_frame()">
<i class="fa fa-step-backward"></i></button>
<button title="Play backwards" aria-label="Play backwards" onclick="anim3d4a9adf3bbd4552a234bf1101adc6f6.reverse_animation()">
<button title="Play backwards" aria-label="Play backwards" onclick="anime226de5450e84faf8b473f1d1d0bdaf7.reverse_animation()">
<i class="fa fa-play fa-flip-horizontal"></i></button>
<button title="Pause" aria-label="Pause" onclick="anim3d4a9adf3bbd4552a234bf1101adc6f6.pause_animation()">
<button title="Pause" aria-label="Pause" onclick="anime226de5450e84faf8b473f1d1d0bdaf7.pause_animation()">
<i class="fa fa-pause"></i></button>
<button title="Play" aria-label="Play" onclick="anim3d4a9adf3bbd4552a234bf1101adc6f6.play_animation()">
<button title="Play" aria-label="Play" onclick="anime226de5450e84faf8b473f1d1d0bdaf7.play_animation()">
<i class="fa fa-play"></i></button>
<button title="Next frame" aria-label="Next frame" onclick="anim3d4a9adf3bbd4552a234bf1101adc6f6.next_frame()">
<button title="Next frame" aria-label="Next frame" onclick="anime226de5450e84faf8b473f1d1d0bdaf7.next_frame()">
<i class="fa fa-step-forward"></i></button>
<button title="Last frame" aria-label="Last frame" onclick="anim3d4a9adf3bbd4552a234bf1101adc6f6.last_frame()">
<button title="Last frame" aria-label="Last frame" onclick="anime226de5450e84faf8b473f1d1d0bdaf7.last_frame()">
<i class="fa fa-fast-forward"></i></button>
<button title="Increase speed" aria-label="Increase speed" onclick="anim3d4a9adf3bbd4552a234bf1101adc6f6.faster()">
<button title="Increase speed" aria-label="Increase speed" onclick="anime226de5450e84faf8b473f1d1d0bdaf7.faster()">
<i class="fa fa-plus"></i></button>
</div>
<form title="Repetition mode" aria-label="Repetition mode" action="#n" name="_anim_loop_select3d4a9adf3bbd4552a234bf1101adc6f6"
<form title="Repetition mode" aria-label="Repetition mode" action="#n" name="_anim_loop_selecte226de5450e84faf8b473f1d1d0bdaf7"
class="anim-state">
<input type="radio" name="state" value="once" id="_anim_radio1_3d4a9adf3bbd4552a234bf1101adc6f6"
<input type="radio" name="state" value="once" id="_anim_radio1_e226de5450e84faf8b473f1d1d0bdaf7"
>
<label for="_anim_radio1_3d4a9adf3bbd4552a234bf1101adc6f6">Once</label>
<input type="radio" name="state" value="loop" id="_anim_radio2_3d4a9adf3bbd4552a234bf1101adc6f6"
<label for="_anim_radio1_e226de5450e84faf8b473f1d1d0bdaf7">Once</label>
<input type="radio" name="state" value="loop" id="_anim_radio2_e226de5450e84faf8b473f1d1d0bdaf7"
checked>
<label for="_anim_radio2_3d4a9adf3bbd4552a234bf1101adc6f6">Loop</label>
<input type="radio" name="state" value="reflect" id="_anim_radio3_3d4a9adf3bbd4552a234bf1101adc6f6"
<label for="_anim_radio2_e226de5450e84faf8b473f1d1d0bdaf7">Loop</label>
<input type="radio" name="state" value="reflect" id="_anim_radio3_e226de5450e84faf8b473f1d1d0bdaf7"
>
<label for="_anim_radio3_3d4a9adf3bbd4552a234bf1101adc6f6">Reflect</label>
<label for="_anim_radio3_e226de5450e84faf8b473f1d1d0bdaf7">Reflect</label>
</form>
</div>
</div>
Expand All @@ -103533,9 +103533,9 @@ <h2>Function animation<a class="headerlink" href="#function-animation" title="Pe
/* Instantiate the Animation class. */
/* The IDs given should match those used in the template above. */
(function() {
var img_id = "_anim_img3d4a9adf3bbd4552a234bf1101adc6f6";
var slider_id = "_anim_slider3d4a9adf3bbd4552a234bf1101adc6f6";
var loop_select_id = "_anim_loop_select3d4a9adf3bbd4552a234bf1101adc6f6";
var img_id = "_anim_imge226de5450e84faf8b473f1d1d0bdaf7";
var slider_id = "_anim_slidere226de5450e84faf8b473f1d1d0bdaf7";
var loop_select_id = "_anim_loop_selecte226de5450e84faf8b473f1d1d0bdaf7";
var frames = new Array(30);

frames[0] = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA+gAAAMgCAYAAACwGEg9AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90\
Expand Down Expand Up @@ -173714,7 +173714,7 @@ <h2>Function animation<a class="headerlink" href="#function-animation" title="Pe
/* set a timeout to make sure all the above elements are created before
the object is initialized. */
setTimeout(function() {
anim3d4a9adf3bbd4552a234bf1101adc6f6 = new Animation(frames, img_id, slider_id, 200.0,
anime226de5450e84faf8b473f1d1d0bdaf7 = new Animation(frames, img_id, slider_id, 200.0,
loop_select_id);
}, 0);
})()
Expand Down Expand Up @@ -173811,7 +173811,7 @@ <h2>Resources and references<a class="headerlink" href="#resources-and-reference

By the <a href="https://projectpythia.org/">Project Pythia</a> Community.

Last updated on 22 November 2023.
Last updated on 28 November 2023.
</p>
</div>
</div>
Expand Down
Loading

0 comments on commit e3815a1

Please sign in to comment.