Skip to content

Commit 9b3c9ef

Browse files
committed
Why is pylint saying a list is str?
1 parent 0ce2466 commit 9b3c9ef

File tree

1 file changed

+1
-1
lines changed
  • webviz_subsurface/plugins/_co2_leakage/_utilities

1 file changed

+1
-1
lines changed

webviz_subsurface/plugins/_co2_leakage/_utilities/co2volume.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ def _add_hover_info_in_field(
611611
p15 = prev_val + 0.15 * amount
612612
p85 = prev_val + 0.85 * amount
613613
y_vals = np.linspace(p15, p85, 8).tolist() * len(date_dict[date])
614-
y_vals.sort()
614+
y_vals.sort() # pylint: disable=attr-defined
615615
fig.add_trace(
616616
go.Scatter(
617617
x=date_dict[date] * 8,

0 commit comments

Comments
 (0)