Skip to content

Commit 44a1dc3

Browse files
authored
Merge pull request #4510 from JasonGross/patch-2
Fix rendering in documentation of histogram histfunc
2 parents 71d74a4 + 9214012 commit 44a1dc3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/python/plotly/plotly/express/_chart_types.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ def histogram(
497497
y=["If `orientation` is `'v'`, these values are used as inputs to `histfunc`."]
498498
+ _wide_mode_xy_append,
499499
histfunc=[
500-
"The arguments to this function are the values of `y`(`x`) if `orientation` is `'v'`(`'h'`).",
500+
"The arguments to this function are the values of `y` (`x`) if `orientation` is `'v'` (`'h'`).",
501501
],
502502
),
503503
)

packages/python/plotly/plotly/express/_doc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@
448448
],
449449
histfunc=[
450450
"str (default `'count'` if no arguments are provided, else `'sum'`)",
451-
"One of `'count'`, `'sum'`, `'avg'`, `'min'`, or `'max'`."
451+
"One of `'count'`, `'sum'`, `'avg'`, `'min'`, or `'max'`.",
452452
"Function used to aggregate values for summarization (note: can be normalized with `histnorm`).",
453453
],
454454
histnorm=[

0 commit comments

Comments
 (0)