-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into add_test_from_weights_with_layer
- Loading branch information
Showing
28 changed files
with
2,095 additions
and
819 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
|
||
} |
Oops, something went wrong.