Skip to content

Commit ba90bf7

Browse files
committed
Pylint fixes
1 parent 83ff4a2 commit ba90bf7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

webviz_subsurface/_components/color_picker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def _show_color_picker(
171171
if not cell:
172172
raise PreventUpdate
173173
row_no = cell["row"]
174-
return dash_daq.ColorPicker( # pylint: disable=not-callable
174+
return dash_daq.ColorPicker(
175175
{"id": self._uuid, "element": "picker"},
176176
label=f"Color for {[col for col in self._dframe.iloc[row_no] if col != 'COLOR']}",
177177
value={"hex": current_color_store[row_no]},

webviz_subsurface/plugins/_co2_leakage/_utilities/co2volume.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def _prepare_pattern_and_color_options_statistics_plot(
228228

229229

230230
def _find_default_option_statistics_figure(
231-
df: pd.DataFrame, categories: list[str]
231+
df: pd.DataFrame, categories: List[str]
232232
) -> str:
233233
if "hazardous" in categories:
234234
default_option = "hazardous"

0 commit comments

Comments
 (0)