Skip to content

Commit

Permalink
Display max value in WellCrossSection map view (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans Kallekleiv authored Nov 21, 2019
1 parent a6b9e68 commit 13a60e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webviz_subsurface/datainput/_surface.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def make_surface_layer(
arr = get_surface_arr(surface)
bounds = [[np.min(arr[0]), np.min(arr[1])], [np.max(arr[0]), np.max(arr[1])]]
min_val = min_val if min_val else np.min(arr[2])
max_val = max_val if min_val else np.max(arr[2])
max_val = max_val if max_val else np.max(arr[2])
return {
"name": name,
"checked": True,
Expand Down

0 comments on commit 13a60e2

Please sign in to comment.