Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions deepicedrain/vizplots.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ def plot_icesurface(
grid_region : tuple or np.ndarray
The bounding cube of the grid given as (xmin, xmax, ymin, ymax, zmin,
zmax).
diff_grid : xr.DataArray
diff_grid : str or xr.DataArray
A differenced elevation grid as an xarray.DataArray.
diff_grid_region : tuple or np.ndarray
The bounding cube of the diff_grid given as (xmin, xmax, ymin, ymax,
Expand Down Expand Up @@ -584,7 +584,7 @@ def plot_icesurface(
'x+l"Elevation Trend"',
"y+lm/yr",
]
if "?dhdt" in diff_grid
if "?dhdt" in str(diff_grid)
else ['x+l"Elevation Change"', "y+lm"],
perspective=True,
)
Expand Down
Loading