Skip to content

Commit 77cb5cd

Browse files
committed
label name
1 parent a5a2252 commit 77cb5cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/python/plotly/plotly/express/_imshow.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ def imshow(
520520
col_labels = []
521521
if facet_col is not None:
522522
slice_label = (
523-
"slice" if labels.get("facet_col") is None else labels["facet_col"]
523+
"facet_col" if labels.get("facet_col") is None else labels["facet_col"]
524524
)
525525
col_labels = ["%s = %d" % (slice_label, i) for i in facet_slices]
526526
fig = init_figure(args, "xy", [], nrows, ncols, col_labels, [])

0 commit comments

Comments
 (0)