Skip to content

Commit 2cbd7e8

Browse files
authored
Merge pull request #4572 from plotly/recent-doc-prod-updates
Merge recent docs updates to main
2 parents 4c722f2 + 17bb2b5 commit 2cbd7e8

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

Diff for: doc/python/interactive-html-export.md

+5
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ You can insert Plotly output and text related to your data into HTML templates u
6464
```
6565
<!DOCTYPE html>
6666
<html>
67+
<head>
68+
<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 -->
69+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
70+
</head>
71+
6772
<body>
6873
<h1>Here's a Plotly graph!</h1>
6974
{{ fig }}

Diff for: doc/requirements.txt

+6
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ squarify
2121
scikit-image==0.18.1
2222
scikit-learn
2323
sphinx==3.5.4
24+
sphinxcontrib-applehelp==1.0.2
25+
sphinxcontrib-devhelp==1.0.2
26+
sphinxcontrib-htmlhelp==2.0.0
27+
sphinxcontrib-qthelp==1.0.3
28+
sphinxcontrib-serializinghtml==1.1.5
29+
sphinxcontrib-jsmath==1.0.1
2430
sphinx_bootstrap_theme
2531
recommonmark
2632
pathlib

Diff for: 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
)

Diff for: 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)