Skip to content

Commit

Permalink
try another approach
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre committed Nov 21, 2024
1 parent cc7dc99 commit 3a7f9aa
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 19 deletions.
3 changes: 1 addition & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,11 @@
# so a file named "default.css" will overwrite the builtin "default.css".
if not os.path.exists("_static"):
os.makedirs("_static")
html_static_path = ['_static']
html_static_path = ["_static"]

# Custom images folder for the gallery
if not os.path.exists("notebooks/images"):
os.makedirs("notebooks/images")
html_extra_path = ["notebooks/images"]

# -- Options for HTMLHelp output ---------------------------------------

Expand Down
34 changes: 17 additions & 17 deletions docs/gallery.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,75 +8,75 @@ Timeseries
^^^^^^^^^^^
Full code in the `Timeseries notebook <notebooks/figanos_timeseries.ipynb>`_.

.. image:: basic_timeseries.png
.. image:: docs/notebooks/images/basic_timeseries.png
:width: 33%
:target: docs/notebooks/figanos_timeseries.html#Basic-timeseries

.. image:: ensemble_timeseries.png
.. image:: docs/notebooks/images.ensemble_timeseries.png
:width: 33%
:target: docs/notebooks/figanos_timeseries.html#Ensembles

Maps
^^^^
Full code in the `Maps notebook <notebooks/figanos_maps.ipynb>`_.

.. image:: basic_map.png
.. image:: docs/notebooks/images/basic_map.png
:width: 33%
:target: docs/notebooks/figanos_maps.html#Gridded-Data-on-Maps

.. image:: station_map.png
.. image:: docs/notebooks/images/station_map.png
:width: 33%
:target: docs/notebooks/figanos_maps.html#Station-Data-on-Maps

.. image:: station+grid_map.png
.. image:: docs/notebooks/images/station+grid_map.png
:width: 33%
:target: docs/notebooks/figanos_maps.html#Station-Data-on-Maps

.. image:: hatch_map.png
.. image:: docs/notebooks/images/hatch_map.png
:width: 33%
:target: docs/notebooks/figanos_maps.html#Hatching-on-Maps

.. image:: gdf_map.png
.. image:: docs/notebooks/images/gdf_map.png
:width: 33%
:target: docs/notebooks/figanos_maps.html#GeoDataFrame-on-Maps

.. image:: gdf2_map.png
.. image:: docs/notebooks/images/gdf2_map.png
:width: 30%
:target: docs/notebooks/figanos_maps.html#GeoDataFrame-on-Maps

Miscellaneous
^^^^^^^^^^^^^
Full code in the `Miscellaneous notebook <notebooks/figanos_misc.ipynb>`_.

.. image:: stripes.png
.. image:: docs/notebooks/images/stripes.png
:width: 33%
:target: docs/notebooks/figanos_misc.html#Climate-Stripes

.. image:: violin.png
.. image:: docs/notebooks/images/violin.png
:width: 33%
:target: docs/notebooks/figanos_misc.html#Violin-Plots

.. image:: heatmap.png
.. image:: docs/notebooks/images/heatmap.png
:width: 33%
:target: docs/notebooks/figanos_misc.html#Heatmaps

.. image:: triangle1.png
.. image:: docs/notebooks/images/triangle1.png
:width: 33%
:target: docs/notebooks/figanos_misc.html#Triangle-heatmaps

.. image:: triangle2.png
.. image:: docs/notebooks/images/triangle2.png
:width: 33%
:target: docs/notebooks/figanos_misc.html#Triangle-Heatmaps

.. image:: taylor.png
.. image:: docs/notebooks/images/taylor.png
:width: 33%
:target: docs/notebooks/figanos_misc.html#Taylor-Diagrams

.. image:: partition.png
.. image:: docs/notebooks/images/partition.png
:width: 33%
:target: docs/notebooks/figanos_misc.html#Partition-plots

.. image:: logo.png
.. image:: docs/notebooks/images/logo.png
:width: 33%
:target: docs/notebooks/figanos_misc.html#Logos

Expand All @@ -85,6 +85,6 @@ Multiple plots

Full code in the `Multiple plots notebook <notebooks/figanos_multiplots.ipynb>`_.

.. image:: multiple.png
.. image:: docs/notebooks/images/multiple.png
:width: 50%
:target: notebooks/figanos_multiplots.html#Maps

0 comments on commit 3a7f9aa

Please sign in to comment.