Skip to content

Commit

Permalink
Merge pull request #4510 from JasonGross/patch-2
Browse files Browse the repository at this point in the history
Fix rendering in documentation of histogram histfunc
  • Loading branch information
archmoj authored Mar 22, 2024
2 parents 71d74a4 + 9214012 commit 44a1dc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/python/plotly/plotly/express/_chart_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'`).",
],
),
)
Expand Down
2 changes: 1 addition & 1 deletion packages/python/plotly/plotly/express/_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=[
Expand Down

0 comments on commit 44a1dc3

Please sign in to comment.