Skip to content

Commit

Permalink
Use wcc.colorscales component (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans Kallekleiv authored Nov 22, 2019
1 parent 13a60e2 commit 1031c1a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
install_requires=[
"scipy~=1.2",
"dash-daq~=0.1",
"dash-colorscales~=0.0.4",
"matplotlib~=3.0",
"pillow~=6.1",
"xtgeo~=2.1",
Expand Down
1 change: 1 addition & 0 deletions tests/integration_tests/test_aggregated_data_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def test_basic_example(dash_duo, tmp_path):
"parameterdistribution",
"morris_plot",
"grid_viewer",
"seg-y_viewer",
"last_page",
]:
dash_duo.wait_for_element(f"#{page}").click()
Expand Down
5 changes: 1 addition & 4 deletions webviz_subsurface/containers/_segy_viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
from dash.dependencies import Input, Output, State
import dash_html_components as html
import dash_core_components as dcc

# pylint: disable=no-name-in-module
from dash_colorscales import DashColorscales
import webviz_core_components as wcc
from webviz_config import WebvizContainerABC
from webviz_config.webviz_store import webvizstore
Expand Down Expand Up @@ -160,7 +157,7 @@ def settings_layout(self):
html.Label(
style={"textAlign": "center"}, children="Set colorscale"
),
DashColorscales(
wcc.ColorScales(
id=self.color_scale_id,
colorscale=self.initial_colors,
nSwatches=12,
Expand Down

0 comments on commit 1031c1a

Please sign in to comment.