From e37fa2b90ff4ef3b9332be6d96f3756970820fe8 Mon Sep 17 00:00:00 2001 From: Gareth Williams Date: Fri, 5 Sep 2025 23:30:30 +0100 Subject: [PATCH] fix --- plotly/express/_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plotly/express/_core.py b/plotly/express/_core.py index d2dbc84c0e..40d525dd40 100644 --- a/plotly/express/_core.py +++ b/plotly/express/_core.py @@ -2290,7 +2290,7 @@ def infer_config(args, constructor, trace_patch, layout_patch): layout_patch[mode] = "group" if ( - constructor == go.Histogram2d + constructor in [go.Histogram2d, go.Histogram2dContour] and args["z"] is not None and args["histfunc"] is None ):