Skip to content

Commit

Permalink
[deploy test]
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans Kallekleiv committed Sep 2, 2020
1 parent 0e7e758 commit 242e1bd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions webviz_subsurface/plugins/_surface_with_grid_cross_section.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from typing import List

import pandas as pd
from matplotlib.colors import ListedColormap
import xtgeo
from dash.exceptions import PreventUpdate
from dash.dependencies import Input, Output, State
Expand Down Expand Up @@ -395,13 +394,11 @@ def _render_surface(
):

surface = xtgeo.RegularSurface(get_path(surfacepath))
hillshading = True
min_val = None
max_val = None
color = None

if surface_type == "attribute":
hillshading = False
min_val = color_values[0] if color_values else None
max_val = color_values[1] if color_values else None
color = colorscale if colorscale else color
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from typing import List

import pandas as pd
from matplotlib.colors import ListedColormap
import xtgeo
from dash.exceptions import PreventUpdate
from dash.dependencies import Input, Output, State
Expand Down

0 comments on commit 242e1bd

Please sign in to comment.