diff --git a/packages/python/plotly/plotly/express/_chart_types.py b/packages/python/plotly/plotly/express/_chart_types.py index dc2b22599e5..74cdf84fa49 100644 --- a/packages/python/plotly/plotly/express/_chart_types.py +++ b/packages/python/plotly/plotly/express/_chart_types.py @@ -497,7 +497,7 @@ def histogram( y=["If `orientation` is `'v'`, these values are used as inputs to `histfunc`."] + _wide_mode_xy_append, histfunc=[ - "The arguments to this function are the values of `y`(`x`) if `orientation` is `'v'`(`'h'`).", + "The arguments to this function are the values of `y` (`x`) if `orientation` is `'v'` (`'h'`).", ], ), ) diff --git a/packages/python/plotly/plotly/express/_doc.py b/packages/python/plotly/plotly/express/_doc.py index 5137dea5b28..5a8690f856d 100644 --- a/packages/python/plotly/plotly/express/_doc.py +++ b/packages/python/plotly/plotly/express/_doc.py @@ -448,7 +448,7 @@ ], histfunc=[ "str (default `'count'` if no arguments are provided, else `'sum'`)", - "One of `'count'`, `'sum'`, `'avg'`, `'min'`, or `'max'`." + "One of `'count'`, `'sum'`, `'avg'`, `'min'`, or `'max'`.", "Function used to aggregate values for summarization (note: can be normalized with `histnorm`).", ], histnorm=[