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: doc/python/error-bars.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ jupyter:
33
33
thumbnail: thumbnail/error-bar.jpg
34
34
---
35
35
36
-
###Error Bars with Plotly Express
36
+
###Error Bars with Plotly Express
37
37
38
38
[Plotly Express](/python/plotly-express/) is the easy-to-use, high-level interface to Plotly, which [operates on "tidy" data](/python/px-arguments/) and produces [easy-to-style figures](/python/styling-plotly-express/). 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).
If Plotly Express does not provide a good starting point, it is possible to use the more generic `go.Scatter` function from `plotly.graph_objects`. Whereas `plotly.express` has two functions `scatter` and `line`, `go.Scatter` can be used both for plotting points (makers) or lines, depending on the value of `mode`. The different options of `go.Scatter` are documented in its [reference page](https://plot.ly/python/reference/#scatter).
Copy file name to clipboardexpand all lines: doc/python/sankey-diagram.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ A [Sankey diagram](https://en.wikipedia.org/wiki/Sankey_diagram) is a flow diagr
39
39
40
40
41
41
### Basic Sankey Diagram
42
-
Sankey diagrams visualize the contributions to a flow by defining [source](https://plot.ly/python/reference/#sankey-link-source) to represent the source node, [target](https://plot.ly/python/reference/#sankey-link-target) for the target node, [value](https://plot.ly/python/reference/#sankey-link-value) to set the flow volum, and [label](https://plot.ly/python/reference/#sankey-node-label) that shows the node name.
42
+
Sankey diagrams visualize the contributions to a flow by defining [source](https://plot.ly/python/reference/#sankey-link-source) to represent the source node, [target](https://plot.ly/python/reference/#sankey-link-target) for the target node, [value](https://plot.ly/python/reference/#sankey-link-value) to set the flow volum, and [label](https://plot.ly/python/reference/#sankey-node-label) that shows the node name.
43
43
44
44
```python
45
45
import plotly.graph_objects as go
@@ -74,7 +74,7 @@ data = json.loads(response.read())
74
74
fig = go.Figure(data=[go.Sankey(
75
75
valueformat=".0f",
76
76
valuesuffix="TWh",
77
-
#Define nodes
77
+
#Define nodes
78
78
node=dict(
79
79
pad=15,
80
80
thickness=15,
@@ -96,7 +96,7 @@ fig.show()
96
96
```
97
97
98
98
### Style Sankey Diagram
99
-
This example also uses [hovermode](https://plot.ly/python/reference/#layout-hovermode) to enable multiple tooltips.
99
+
This example also uses [hovermode](https://plot.ly/python/reference/#layout-hovermode) to enable multiple tooltips.
Copy file name to clipboardexpand all lines: doc/python/ternary-contour.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -121,7 +121,7 @@ fig = ff.create_ternary_contour(np.array([Al, Y, Cu]), enthalpy,
121
121
fig.show()
122
122
```
123
123
124
-
####Interpolation mode
124
+
####Interpolation mode
125
125
126
126
Two modes are available in order to interpolate between data points: interpolation in Cartesian space (`interp_mode='cartesian'`) or interpolation using the [isometric log-ratio transformation](https://link.springer.com/article/10.1023/A:1023818214614) (see also [preprint](https://www.researchgate.net/profile/Leon_Parent2/post/What_is_the_best_approach_for_diagnosing_nutrient_disorders_and_formulating_fertilizer_recommendations/attachment/59d62a69c49f478072e9cf3f/AS%3A272541220835360%401441990298625/download/Egozcue+et+al+2003.pdf)), `interp_mode='ilr'`. The `ilr` transformation preserves metrics in the [simplex](https://en.wikipedia.org/wiki/Simplex) but is not defined on its edges.
Copy file name to clipboardexpand all lines: doc/python/time-series.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ Time series can be represented using either `plotly.express` functions (`px.line
40
40
Plotly auto-sets the axis type to a date format when the corresponding data are either ISO-formatted date strings or if they're a [date pandas column](https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html) or [datetime NumPy array](https://docs.scipy.org/doc/numpy/reference/arrays.datetime.html).
Copy file name to clipboardexpand all lines: doc/python/violin.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ jupyter:
34
34
thumbnail: thumbnail/violin.jpg
35
35
---
36
36
37
-
##Violin Plot with Plotly Express
37
+
##Violin Plot with Plotly Express
38
38
39
39
A [violin plot](https://en.wikipedia.org/wiki/Violin_plot) is a statistical representation of numerical data. It is similar to a [box plot](https://plot.ly/python/box-plots/), with the addition of a rotated [kernel density](https://en.wikipedia.org/wiki/Kernel_density_estimation) plot on each side.
40
40
@@ -233,7 +233,7 @@ fig.update_layout(
233
233
fig.show()
234
234
```
235
235
236
-
####Ridgeline plot
236
+
####Ridgeline plot
237
237
238
238
A ridgeline plot ([previously known as Joy Plot](https://serialmentor.com/blog/2017/9/15/goodbye-joyplots)) shows the distribution of a numerical value for several groups. They can be used for visualizing changes in distributions over time or space.
0 commit comments