Skip to content

Commit 656fdbd

Browse files
authored
Merge pull request #210 from csiro-coasts/dual-plot-example
Add sphinx-gallery
2 parents 6faeeaa + 455001c commit 656fdbd

29 files changed

+148
-214
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ geometry.write_shapefile(dataset, './gbr4.shp')
4949

5050
## Examples
5151

52+
The `examples/` directory contains examples of making many different plots.
53+
These are included in the documentation under [Examples][emsarray-examples].
54+
5255
Examples of using `emsarray` are available in the [emsarray-notebooks][emsarray-notebooks] repository.
5356
You can [explore these notebooks online][emsarray-binder] with Binder.
5457

@@ -98,6 +101,7 @@ You can the view the docs at <http://localhost:5500>
98101
[emsarray-binder]: https://mybinder.org/v2/gh/csiro-coasts/emsarray-notebooks/HEAD
99102
[emsarray-conda-forge]: https://anaconda.org/conda-forge/emsarray/
100103
[emsarray-documentation]: https://emsarray.readthedocs.io
104+
[emsarray-examples]: https://emsarray.readthedocs.io/en/stable/examples/
101105
[emsarray-notebooks]: https://github.com/csiro-coasts/emsarray-notebooks
102106
[emsarray-pypi]: https://pypi.org/project/emsarray/
103107
[emsarray-source-code]: https://github.com/csiro-coasts/emsarray

continuous-integration/docs.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ channels:
33

44
dependencies:
55
- geos ~=3.12.2
6+
- udunits2 >=2.2.25
67
- python =3.14
8+
- ffmpeg
79
- wheel
810
- pip:
911
- -r ./requirements-3.14.txt

docs/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
_build
1+
_build/
2+
examples/
-1.03 MB
Binary file not shown.
-313 KB
Binary file not shown.

docs/_static/images/kgari-path.png

-64.7 KB
Binary file not shown.
-30.2 KB
Binary file not shown.
-127 KB
Binary file not shown.
-212 KB
Binary file not shown.

docs/api/plot.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ The :func:`plot_on_figure` and :func:`animate_on_figure` functions
1111
will generate a simple plot of any supported variables.
1212
These functions are intended as quick and simple ways of exploring a dataset
1313
and have limited customisation options.
14-
Consult the :ref:`examples gallery <examples>`
15-
for demonstrations on making more customised plots.
1614

17-
The :ref:`examples <examples>` section contains many worked examples on how to generate plots.
18-
:ref:`example-plot-with-clim` is a good place to start.
15+
The :ref:`examples <examples>` section contains many worked examples
16+
on how to generate plots with more customisations.
17+
:ref:`sphx_glr_examples_plot-with-clim.py` is a good place to start.
1918

2019
Shortcuts
2120
=========

0 commit comments

Comments
 (0)