Skip to content

Commit

Permalink
Merge branch 'main' into add_test_from_weights_with_layer
Browse files Browse the repository at this point in the history
  • Loading branch information
JoerivanEngelen committed Jun 26, 2023
2 parents 5e330c6 + 5d7bb9c commit c4a5ce6
Show file tree
Hide file tree
Showing 28 changed files with 2,095 additions and 819 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/requirements/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ dependencies:
- pip
- pip:
- meshkernel
- pydata-sphinx-theme=0.10.1
- pydata-sphinx-theme
- pymetis
- pyproj
- pytest
- pytest-cov
Expand Down
21 changes: 21 additions & 0 deletions data/examples/elevation_nl.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
"""
Elevation NL
============
This is a small dataset containing a triangulation of a digital elevation model
of the Netherlands.
"""

import matplotlib.pyplot as plt

import xugrid

uda = xugrid.data.elevation_nl()

section_y = 475_000.0
section = uda.ugrid.sel(y=section_y)

fig, (ax0, ax1) = plt.subplots(figsize=(22.6, 10), ncols=2)
uda.ugrid.plot(ax=ax0, vmin=-20, vmax=90, cmap="terrain")
ax0.axhline(y=section_y, color="red")
section.plot(ax=ax1, x="x")
29 changes: 2 additions & 27 deletions docs/_static/theme-deltares.css
Original file line number Diff line number Diff line change
@@ -1,29 +1,4 @@
/* Override the default color set in the original theme */

html[data-theme="light"] {
--pst-color-background: #fff !important;
--pst-color-on-background: #080c80 !important;
--pst-color-primary: #080c80 !important;
}
html[data-theme="dark"] {
--pst-color-border: #080c80 !important;
--pst-color-background: #080c80 !important;
--pst-color-on-background: #080c80 !important;
}

div.admonition {
background-color: #fff;
}

.nav-link {
color: #8486c0 !important;
}

.navbar-nav>:hover>.nav-link {
color: #fff !important;
}

/* enlarge deltares & github icon size; only works with local/url svg files; not with fa icons */
img.icon-link-image {
height: 2.5em !important;
}

}
Loading

0 comments on commit c4a5ce6

Please sign in to comment.