Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions doc/python/interactive-html-export.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ You can insert Plotly output and text related to your data into HTML templates u
```
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" /> <!--It is necessary to use the UTF-8 encoding with plotly graphics to get e.g. negative signs to render correctly -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>

<body>
<h1>Here's a Plotly graph!</h1>
{{ fig }}
Expand Down
6 changes: 6 additions & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ squarify
scikit-image==0.18.1
scikit-learn
sphinx==3.5.4
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
sphinxcontrib-jsmath==1.0.1
sphinx_bootstrap_theme
recommonmark
pathlib
Expand Down
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