You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: python/3d-scatter-plots.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ jupyter:
20
20
name: python
21
21
nbconvert_exporter: python
22
22
pygments_lexer: ipython3
23
-
version: 3.6.7
23
+
version: 3.6.8
24
24
plotly:
25
25
description: How to make 3D scatter plots in Python with Plotly.
26
26
display_as: 3d_charts
@@ -39,7 +39,9 @@ jupyter:
39
39
40
40
## 3D scatter plot with plotly express
41
41
42
-
Like the [2D scatter plot](https://plot.ly/python/line-and-scatter/)`px.scatter`, the 3D function `px.scatter_3d` plots individual data in three-dimensional space.
42
+
[Plotly Express](/python/plotly-express/) is the easy-to-use, high-level interface to Plotly, which [operates on "tidy" data](/python/px-arguments/).
43
+
44
+
Like the [2D scatter plot](https://plot.ly/python/line-and-scatter/)`px.scatter`, the 3D function `px.scatter_3d` plots individual data in three-dimensional space.
Copy file name to clipboardExpand all lines: python/bar-charts.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ jupyter:
6
6
extension: .md
7
7
format_name: markdown
8
8
format_version: '1.1'
9
-
jupytext_version: 1.2.1
9
+
jupytext_version: 1.1.1
10
10
kernelspec:
11
11
display_name: Python 3
12
12
language: python
@@ -20,7 +20,7 @@ jupyter:
20
20
name: python
21
21
nbconvert_exporter: python
22
22
pygments_lexer: ipython3
23
-
version: 3.7.3
23
+
version: 3.6.8
24
24
plotly:
25
25
description: How to make Bar Charts in Python with Plotly.
26
26
display_as: basic
@@ -40,7 +40,9 @@ jupyter:
40
40
### Bar chart with plotly express
41
41
42
42
43
-
In a bar plot, each row of the DataFrame is represented as a rectangular mark.
43
+
[Plotly Express](/python/plotly-express/) is the easy-to-use, high-level interface to Plotly, which [operates on "tidy" data](/python/px-arguments/).
44
+
45
+
With `px.bar`, each row of the DataFrame is represented as a rectangular mark.
44
46
45
47
```python
46
48
import plotly.express as px
@@ -103,7 +105,7 @@ To learn more, see the *link to px.bar reference page*.
103
105
104
106
#### Basic Bar Chart with plotly.graph_objects
105
107
106
-
When data are not available as tidy dataframes, it is also possible to use the more generic `go.Bar` function from `plotly.graph_objects`.
108
+
If Plotly Express does not provide a good starting point, it is also possible to use the more generic `go.Bar` function from `plotly.graph_objects`.
107
109
108
110
```python
109
111
import plotly.graph_objects as go
@@ -327,7 +329,7 @@ fig.show()
327
329
328
330
### Bar Chart with Sorted or Ordered Categories
329
331
330
-
Set `categoryorder` to "category ascending/descending" for the alphanumerical order of the category names or "total ascending/descending" for numerical order of values. [categoryorder](https://plot.ly/python/reference/#layout-xaxis-categoryorder) for more information.
332
+
Set `categoryorder` to "category ascending/descending" for the alphanumerical order of the category names or "total ascending/descending" for numerical order of values. [categoryorder](https://plot.ly/python/reference/#layout-xaxis-categoryorder) for more information.
Copy file name to clipboardExpand all lines: python/box-plots.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ jupyter:
20
20
name: python
21
21
nbconvert_exporter: python
22
22
pygments_lexer: ipython3
23
-
version: 3.6.7
23
+
version: 3.6.8
24
24
plotly:
25
25
description: How to make Box Plots in Python with Plotly.
26
26
display_as: statistical
@@ -42,6 +42,8 @@ A [box plot](https://en.wikipedia.org/wiki/Box_plot) is a statistical representa
42
42
43
43
## Box Plot with plotly express
44
44
45
+
[Plotly Express](/python/plotly-express/) is the easy-to-use, high-level interface to Plotly, which [operates on "tidy" data](/python/px-arguments/).
46
+
45
47
In a box plot created by `px.box`, the distribution of the column given as `y` argument is represented.
46
48
47
49
@@ -89,7 +91,7 @@ fig.show()
89
91
90
92
## Box plot with go.Box
91
93
92
-
When data are not available as tidy dataframes, it is also possible to use the more generic `go.Box` function from `plotly.graph_objects`. All available options for `go.Box` are described in the reference page https://plot.ly/python/reference/#box.
94
+
If Plotly Express does not provide a good starting point, it is also possible to use the more generic `go.Box` function from `plotly.graph_objects`. All available options for `go.Box` are described in the reference page https://plot.ly/python/reference/#box.
Copy file name to clipboardExpand all lines: python/bubble-charts.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ jupyter:
42
42
43
43
A [bubble chart](https://en.wikipedia.org/wiki/Bubble_chart) is a scatter plot in which a third dimension of the data is shown through the size of markers. For other types of scatter plot, see the [line and scatter page](https://plot.ly/python/line-and-scatter/).
44
44
45
-
We first show a bubble chart example using plotly express. [Plotly Express](../plotly-express/)functions take as a first argument a [tidy`pandas.DataFrame`](https://www.jeannicholashould.com/tidy-data-in-python.html). The size of markers is set from the dataframe column given as the `size` parameter.
45
+
We first show a bubble chart example using plotly express. [Plotly Express](/python/plotly-express/)is the easy-to-use, high-level interface to Plotly, which [operates on "tidy" data](/python/px-arguments/). The size of markers is set from the dataframe column given as the `size` parameter.
46
46
47
47
```python
48
48
import plotly.express as px
@@ -56,7 +56,7 @@ fig.show()
56
56
57
57
## Bubble Chart with plotly.graph_objects
58
58
59
-
When data are not available as tidy dataframes, it is also possible to use the more generic `go.Scatter` from `plotly.graph_objects`, and define the size of markers to create a bubble chart. All of the available options are described in the scatter section of the reference page: https://plot.ly/python/reference#scatter.
59
+
If Plotly Express does not provide a good starting point, it is also possible to use the more generic `go.Scatter` from `plotly.graph_objects`, and define the size of markers to create a bubble chart. All of the available options are described in the scatter section of the reference page: https://plot.ly/python/reference#scatter.
Copy file name to clipboardExpand all lines: python/bubble-maps.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ jupyter:
38
38
39
39
### Bubble map with plotly express
40
40
41
-
[Plotly Express](../plotly-express/)functions take as a first argument a [tidy`pandas.DataFrame`](https://www.jeannicholashould.com/tidy-data-in-python.html). With ``px.scatter_geo``, each line of the dataframe is represented as a marker point. The column set as the `size` argument gives the size of markers.
41
+
[Plotly Express](/python/plotly-express/)is the easy-to-use, high-level interface to Plotly, which [operates on "tidy" data](/python/px-arguments/). With ``px.scatter_geo``, each line of the dataframe is represented as a marker point. The column set as the `size` argument gives the size of markers.
Copy file name to clipboardExpand all lines: python/choropleth-maps.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,10 +29,12 @@ jupyter:
29
29
30
30
A [Choropleth Map](https://en.wikipedia.org/wiki/Choropleth_map) is a heatmap using geographical boundaries. It is used to represent spatial variations of a quantity. See also the [index of other geographical charts](../maps/).
31
31
32
-
Below we show how to create Choropleth Maps using either `px.choropleth`(one-liner function call for data as tidy pandas DataFrame) or for the more generic case`go.Choropleth`.
32
+
Below we show how to create Choropleth Maps using either Plotly Express' `px.choropleth` or the lower-level`go.Choropleth`.
33
33
34
34
### Choropleth Map with plotly.express
35
35
36
+
[Plotly Express](/python/plotly-express/) is the easy-to-use, high-level interface to Plotly, which [operates on "tidy" data](/python/px-arguments/).
Copy file name to clipboardExpand all lines: python/distplot.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ jupyter:
40
40
41
41
Several representations of statistical distributions are available in plotly, such as [histograms](https://plot.ly/python/histograms/), [violin plots](https://plot.ly/python/violin/), [box plots](https://plot.ly/python/box-plots/) (see [the complete list here](https://plot.ly/python/statistical-charts/)). It is also possible to combine several representations in the same plot.
42
42
43
-
For example, the `plotly.express` function `px.histogram` can add a subplot with a different statistical representation than the histogram, given by the parameter `marginal`. [Plotly Express](../plotly-express/)functions take as a first argument a [tidy`pandas.DataFrame`](https://www.jeannicholashould.com/tidy-data-in-python.html).
43
+
For example, the `plotly.express` function `px.histogram` can add a subplot with a different statistical representation than the histogram, given by the parameter `marginal`. [Plotly Express](/python/plotly-express/)is the easy-to-use, high-level interface to Plotly, which [operates on "tidy" data](/python/px-arguments/).
Copy file name to clipboardExpand all lines: python/dot-plots.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,10 +39,12 @@ jupyter:
39
39
40
40
#### Basic Dot Plot
41
41
42
-
Dot plots (also known as [Cleveland dot plots](https://en.wikipedia.org/wiki/Dot_plot_(statistics))) show changes between two (or more) points in time or between two (or more) conditions. Compared to a [bar chart](../bar-charts/), dot plots can be less cluttered and allow for an easier comparison between conditions.
42
+
Dot plots (also known as [Cleveland dot plots](https://en.wikipedia.org/wiki/Dot_plot_(statistics))) show changes between two (or more) points in time or between two (or more) conditions. Compared to a [bar chart](../bar-charts/), dot plots can be less cluttered and allow for an easier comparison between conditions.
43
43
44
44
For the same data, we show below how to create a dot plot using either `px.scatter` (for a tidy pandas DataFrame) or `go.Scatter`.
45
45
46
+
[Plotly Express](/python/plotly-express/) is the easy-to-use, high-level interface to Plotly, which [operates on "tidy" data](/python/px-arguments/).
Copy file name to clipboardExpand all lines: python/error-bars.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ jupyter:
39
39
40
40
### Error Bars with plotly express
41
41
42
-
[Plotly Express](../plotly-express/)functions take as a first argument a [tidy`pandas.DataFrame`](https://www.jeannicholashould.com/tidy-data-in-python.html). For functions representing 2D data points such as [`px.scatter`](https://plot.ly/python/line-and-scatter/), [`px.line`](https://plot.ly/python/line-charts/), [`px.bar`](https://plot.ly/python/bar-charts/) etc., error bars are given as a column name which is the value of the `error_x` (for the error on x position) and `error_y` (for the error on y position).
42
+
[Plotly Express](/python/plotly-express/)is the easy-to-use, high-level interface to Plotly, which [operates on "tidy" data](/python/px-arguments/). For functions representing 2D data points such as [`px.scatter`](https://plot.ly/python/line-and-scatter/), [`px.line`](https://plot.ly/python/line-charts/), [`px.bar`](https://plot.ly/python/bar-charts/) etc., error bars are given as a column name which is the value of the `error_x` (for the error on x position) and `error_y` (for the error on y position).
Copy file name to clipboardExpand all lines: python/filled-area-plots.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ This example shows how to fill the area enclosed by traces.
42
42
43
43
## Filled area plot with plotly.express
44
44
45
-
[Plotly Express](../plotly-express/)functions take as a first argument a [tidy`pandas.DataFrame`](https://www.jeannicholashould.com/tidy-data-in-python.html).
45
+
[Plotly Express](/python/plotly-express/)is the easy-to-use, high-level interface to Plotly, which [operates on "tidy" data](/python/px-arguments/).
46
46
47
47
`px.area` creates a stacked area plot. Each filled area corresponds to one value of the column given by the `line_group` parameter.
0 commit comments