Skip to content

Commit e18dbd7

Browse files
committed
Fix B905 issue
1 parent 7b6608d commit e18dbd7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

e3sm_diags/plot/taylor_diagram.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ def __init__(self, refstd, fig=None, rect=111, label="_"):
4444
gl2_ticks[-1] = [gl2_num[-1], ""] # type: ignore
4545
gl2_ticks[0] = [gl2_num[0], "0"] # type: ignore
4646
# FIXME: B905: zip() without an explicit strict= parameter
47-
tf1 = GF.DictFormatter(dict(list(zip(tlocs, list(map(str, rlocs))))))
47+
tf1 = GF.DictFormatter(
48+
dict(list(zip(tlocs, list(map(str, rlocs)), strict=False)))
49+
)
4850
tf2 = GF.DictFormatter(dict(gl2_ticks))
4951

5052
# Standard deviation axis extent

0 commit comments

Comments
 (0)