Skip to content

Commit 6428e6b

Browse files
Apply black formatting
1 parent 5f93bfa commit 6428e6b

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

ultraplot/legend.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1940,12 +1940,18 @@ def _build_legends(
19401940
"fontsize": inputs.fontsize,
19411941
"handler_map": inputs.handler_map,
19421942
"title_fontsize": inputs.titlefontsize,
1943-
}
1943+
}
19441944
)
19451945
if multi:
19461946
objs = lax._parse_legend_centered(pairs, kw_frame=kw_frame, **kwargs)
19471947
else:
1948-
kwargs.update({key: kw_frame[key] for key in ("shadow", "fancybox")if key in kw_frame})
1948+
kwargs.update(
1949+
{
1950+
key: kw_frame[key]
1951+
for key in ("shadow", "fancybox")
1952+
if key in kw_frame
1953+
}
1954+
)
19491955
objs = [
19501956
lax._parse_legend_aligned(
19511957
pairs, ncol=inputs.ncol, order=inputs.order, **kwargs

0 commit comments

Comments
 (0)