Skip to content

Commit a5a2252

Browse files
committed
label names
1 parent 6ac3e36 commit a5a2252

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: packages/python/plotly/plotly/express/_imshow.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -283,10 +283,10 @@ def imshow(
283283
labels["x"] = x_label
284284
if labels.get("y", None) is None:
285285
labels["y"] = y_label
286-
if labels.get("animation", None) is None:
287-
labels["animation"] = animation_label
288-
if labels.get("facet", None) is None:
289-
labels["facet"] = facet_label
286+
if labels.get("animation_frame", None) is None:
287+
labels["animation_frame"] = animation_label
288+
if labels.get("facet_col", None) is None:
289+
labels["facet_col"] = facet_label
290290
if labels.get("color", None) is None:
291291
labels["color"] = xarray.plot.utils.label_from_attrs(img)
292292
labels["color"] = labels["color"].replace("\n", "<br>")

0 commit comments

Comments
 (0)