You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realize the documentation are dotted with center=False. This is because xarray defaults to centering any image plot where data span negative and positive values, however this is not really appropriate for glacier-depressed bedrock elevation typically ranging from slightly below sea level to the mountain tops. I can think of two ways to fix this: use sealevel=-120 and possibly the 'Elevational' instead of 'Topographic' colormap, or changing bedrock_altitude() and friends' default behaviour.
Implement better defaults for altitude?
Remove center=False in docs.
Doc changes in whatsnew.
The text was updated successfully, but these errors were encountered:
I am backtracking on this. I think I want to keep hyoga as consistent as possible with xarray. The center kwarg is not the most intuitive though. Besides I realized that sealevel=sealevel is redundant with center=sealevel. So I am planning to:
replace center=False with vmin=0or vmin=-120 in docs.
I realize the documentation are dotted with
center=False
. This is because xarray defaults to centering any image plot where data span negative and positive values, however this is not really appropriate for glacier-depressed bedrock elevation typically ranging from slightly below sea level to the mountain tops. I can think of two ways to fix this: usesealevel=-120
and possibly the'Elevational'
instead of'Topographic'
colormap, or changingbedrock_altitude()
and friends' default behaviour.Implement better defaults for altitude?Removecenter=False
in docs.The text was updated successfully, but these errors were encountered: