Skip to content

Commit c7e5094

Browse files
standardizing case of Plotly Express
1 parent 173b11c commit c7e5094

30 files changed

+86
-86
lines changed

python/3d-bubble-charts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jupyter:
3737
title: Python 3D Bubble Charts | plotly
3838
---
3939

40-
### 3d Bubble chart with plotly express
40+
### 3d Bubble chart with Plotly Express
4141

4242
```python
4343
import plotly.express as px

python/3d-line-plots.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jupyter:
3636
title: 3D Line Plots in Python | plotly
3737
---
3838

39-
### 3D Line plot with plotly express
39+
### 3D Line plot with Plotly Express
4040

4141
```python
4242
import plotly.express as px

python/3d-scatter-plots.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jupyter:
3737
v4upgrade: true
3838
---
3939

40-
## 3D scatter plot with plotly express
40+
## 3D scatter plot with Plotly Express
4141

4242
[Plotly Express](/python/plotly-express/) is the easy-to-use, high-level interface to Plotly, which [operates on "tidy" data](/python/px-arguments/).
4343

python/animations.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jupyter:
2727
v4upgrade: true
2828
---
2929

30-
#### Animated figures with plotly express
31-
Several plotly express functions support the creation of animated figures through the `animation_frame` and `animation_group` arguments.
30+
#### Animated figures with Plotly Express
31+
Several Plotly Express functions support the creation of animated figures through the `animation_frame` and `animation_group` arguments.
3232

33-
Here is an example of an animated scatter plot creating using plotly express
33+
Here is an example of an animated scatter plot creating using Plotly Express
3434

3535
```python
3636
import plotly.express as px

python/axes.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@ fig.update_yaxes(showgrid=False, zeroline=False)
9494
fig.show()
9595
```
9696

97-
##### Toggle grid and zerolines for figure created with plotly express
97+
##### Toggle grid and zerolines for figure created with Plotly Express
9898

9999

100-
An advantage of using the `update_xaxis` and `update_yaxis` methods is that these updates will (by default) apply to all axes in the figure. This is especially useful when customizing figures created using plotly express, figure factories, or `make_subplots`.
100+
An advantage of using the `update_xaxis` and `update_yaxis` methods is that these updates will (by default) apply to all axes in the figure. This is especially useful when customizing figures created using Plotly Express, figure factories, or `make_subplots`.
101101

102-
Here is an example of disabling all grid and zero lines in a faceted figure created by plotly express.
102+
Here is an example of disabling all grid and zero lines in a faceted figure created by Plotly Express.
103103

104104
```python
105105
import plotly.express as px
@@ -115,7 +115,7 @@ fig.show()
115115
##### Toggling axis tick marks
116116
Axis tick marks are disabled by default for the default `plotly` theme, but they can easily be turned on by setting the `ticks` axis property to `"inside"` (to place ticks inside plotting area) or `"outside"` (to place ticks outside the plotting area).
117117

118-
Here is an example of turning on inside x-axis and y-axis ticks in a faceted figure created using plotly express. Note how the `col` argument to `update_yaxes` is used to only turn on the y-axis ticks for the left-most subplot.
118+
Here is an example of turning on inside x-axis and y-axis ticks in a faceted figure created using Plotly Express. Note how the `col` argument to `update_yaxes` is used to only turn on the y-axis ticks for the left-most subplot.
119119

120120
```python
121121
import plotly.express as px
@@ -131,7 +131,7 @@ fig.show()
131131
##### Toggling axis labels
132132
The axis tick mark labels can be disabled by setting the `showticklabels` axis property to `False`.
133133

134-
Here is an example of disabling tick labels in all subplots for a faceted figure created using plotly express.
134+
Here is an example of disabling tick labels in all subplots for a faceted figure created using Plotly Express.
135135

136136
```python
137137
import plotly.express as px
@@ -149,7 +149,7 @@ fig.show()
149149
##### Set number of tick marks
150150
The approximate number of ticks displayed for an axis can be specified using the `nticks` axis property.
151151

152-
Here is an example of updating the y-axes of a figure created using plotly express to display approximately 20 ticks.
152+
Here is an example of updating the y-axes of a figure created using Plotly Express to display approximately 20 ticks.
153153

154154
```python
155155
import plotly.express as px
@@ -164,7 +164,7 @@ fig.show()
164164
##### Set start position and distance between ticks
165165
The `tick0` and `dtick` axis properties can be used to control to placement of axis ticks as follows: If specified, a tick will fall exactly on the location of `tick0` and additional ticks will be added in both directions at intervals of `dtick`.
166166

167-
Here is an example of updating the y axis of a figure created using plotly express to position the ticks at intervals of 0.5, starting at 0.25.
167+
Here is an example of updating the y axis of a figure created using Plotly Express to position the ticks at intervals of 0.5, starting at 0.25.
168168

169169
```python
170170
import plotly.express as px
@@ -179,7 +179,7 @@ fig.show()
179179
##### Set exact location of axis ticks
180180
It is possible to configure an axis to display ticks at a set of predefined locations by setting the `tickvals` property to an array of positions.
181181

182-
Here is an example of setting the exact location of ticks on the y axes of a figure created using plotly express.
182+
Here is an example of setting the exact location of ticks on the y axes of a figure created using Plotly Express.
183183

184184
```python
185185
import plotly.express as px
@@ -196,7 +196,7 @@ As discussed above, tick marks are disabled by default in the default `plotly` t
196196

197197
The appearance of these tick marks can be customized by setting their length (`ticklen`), width (`tickwidth`), and color (`tickcolor`).
198198

199-
Here is an example of enabling and styling the tick marks of a faceted figure created using plotly express. Note how the `col` argument to `update_yaxes` is used to only turn on and style the y-axis ticks for the left-most subplot.
199+
Here is an example of enabling and styling the tick marks of a faceted figure created using Plotly Express. Note how the `col` argument to `update_yaxes` is used to only turn on and style the y-axis ticks for the left-most subplot.
200200

201201
```python
202202
import plotly.express as px
@@ -227,7 +227,7 @@ fig.show()
227227
```
228228

229229
##### Set axis title font
230-
Here is an example that configures the font family, size, and color for the axis titles in a figure created using plotly express.
230+
Here is an example that configures the font family, size, and color for the axis titles in a figure created using Plotly Express.
231231

232232
```python
233233
import plotly.express as px
@@ -243,7 +243,7 @@ fig.show()
243243
##### Set axis label rotation and font
244244
The orientation of the axis tick mark labels is configured using the `tickangle` axis property. The value of `tickangle` is the angle of rotation, in the clockwise direction, of the labels from vertical in units of degrees. The font family, size, and color for the tick labels are stored under the `tickfont` axis property.
245245

246-
Here is an example of rotating the x-axis tick labels by 45 degrees, and customizing their font properties, in a faceted histogram figure created using plotly express.
246+
Here is an example of rotating the x-axis tick labels by 45 degrees, and customizing their font properties, in a faceted histogram figure created using Plotly Express.
247247

248248
```python
249249
import plotly.express as px
@@ -261,7 +261,7 @@ fig.show()
261261
##### Styling axis lines
262262
The `showline` axis property controls the visibility of the axis line, and the `linecolor` and `linewidth` axis properties control the color and width of the axis line.
263263

264-
Here is an example of enabling the x and y axis lines, and customizing their width and color, for a faceted histogram created with plotly express.
264+
Here is an example of enabling the x and y axis lines, and customizing their width and color, for a faceted histogram created with Plotly Express.
265265

266266
```python
267267
import plotly.express as px
@@ -277,7 +277,7 @@ fig.show()
277277
##### Mirroring axis lines
278278
Axis lines can be mirrored to the opposite side of the plotting area by setting the `mirror` axis property to `True`.
279279

280-
Here is an example of mirroring the x and y axis lines in a faceted histogram created using plotly express.
280+
Here is an example of mirroring the x and y axis lines in a faceted histogram created using Plotly Express.
281281

282282
```python
283283
import plotly.express as px
@@ -293,7 +293,7 @@ fig.show()
293293
##### Styling grid lines
294294
The width and color of axis grid lines are controlled by the `gridwidth` and `gridcolor` axis properties.
295295

296-
Here is an example of customizing the grid line width and color for a faceted scatter plot created with plotly express
296+
Here is an example of customizing the grid line width and color for a faceted scatter plot created with Plotly Express
297297

298298
```python
299299
import plotly.express as px
@@ -327,7 +327,7 @@ fig.show()
327327
#### Setting the Range of Axes Manually
328328
The visible x and y axis range can be configured manually by setting the `range` axis property to a list of two values, the lower and upper boundary.
329329

330-
Here's an example of manually specifying the x and y axis range for a faceted scatter plot created with plotly express.
330+
Here's an example of manually specifying the x and y axis range for a faceted scatter plot created with Plotly Express.
331331

332332
```python
333333
import plotly.express as px
@@ -444,7 +444,7 @@ fig.show()
444444
#### Reversed Axes
445445
You can tell plotly's automatic axis range calculation logic to reverse the direction of an axis by setting the `autorange` axis property to `"reversed"`.
446446

447-
Here is an example of reversing the direction of the y axes for a faceted scatter plot created using plotly express.
447+
Here is an example of reversing the direction of the y axes for a faceted scatter plot created using Plotly Express.
448448

449449
```python
450450
import plotly.express as px
@@ -459,7 +459,7 @@ fig.show()
459459
#### Reversed Axes with Range ( Min/Max ) Specified
460460
The direction of an axis can be reversed when manually setting the range extents by specifying a list containing the upper bound followed by the lower bound (rather that the lower followed by the upper) as the `range` axis property.
461461

462-
Here is an example of manually setting the reversed range of the y axes in a faceted scatter plot figure created using plotly express.
462+
Here is an example of manually setting the reversed range of the y axes in a faceted scatter plot figure created using Plotly Express.
463463

464464
```python
465465
import plotly.express as px
@@ -477,7 +477,7 @@ The axis auto-range calculation logic can be configured using the `rangemode` ax
477477

478478
If `rangemode` is `"normal"` (the default), the range is computed based on the min and max values of the input data. If `"tozero"`, the the range will always include zero. If `"nonnegative"`, the range will not extend below zero, regardless of the input data.
479479

480-
Here is an example of configuring a faceted scatter plot created using plotly express to always include zero for both the x and y axes.
480+
Here is an example of configuring a faceted scatter plot created using Plotly Express to always include zero for both the x and y axes.
481481

482482
```python
483483
import plotly.express as px

python/bar-charts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jupyter:
3737
v4upgrade: true
3838
---
3939

40-
### Bar chart with plotly express
40+
### Bar chart with Plotly Express
4141

4242

4343
[Plotly Express](/python/plotly-express/) is the easy-to-use, high-level interface to Plotly, which [operates on "tidy" data](/python/px-arguments/).
@@ -55,7 +55,7 @@ fig.show()
5555
data_canada
5656
```
5757

58-
### Customize bar chart with plotly express
58+
### Customize bar chart with Plotly Express
5959

6060
The bar plot can be customized using keyword arguments.
6161

python/box-plots.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jupyter:
4040
A [box plot](https://en.wikipedia.org/wiki/Box_plot) is a statistical representation of numerical data through their quartiles. The ends of the box represent the lower and upper quartiles, while the median (second quartile) is marked by a line inside the box. For other statistical representations of numerical data, see [other statistical charts](https://plot.ly/python/statistical-charts/).
4141

4242

43-
## Box Plot with plotly express
43+
## Box Plot with Plotly Express
4444

4545
[Plotly Express](/python/plotly-express/) is the easy-to-use, high-level interface to Plotly, which [operates on "tidy" data](/python/px-arguments/).
4646

python/bubble-charts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jupyter:
4242

4343
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/).
4444

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.
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.
4646

4747
```python
4848
import plotly.express as px

python/bubble-maps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jupyter:
3636
v4upgrade: true
3737
---
3838

39-
### Bubble map with plotly express
39+
### Bubble map with Plotly Express
4040

4141
[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.
4242

python/colorscales.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ jupyter:
3737
v4upgrade: true
3838
---
3939

40-
### Predefined colorscales in plotly express
40+
### Predefined colorscales in Plotly Express
4141
A collection of predefined sequential colorscales is provided in the `plotly.express.colors.sequential` module.
4242

43-
Here is an example that creates a scatter plot using plotly express, with points colored using the Viridis colorscale.
43+
Here is an example that creates a scatter plot using Plotly Express, with points colored using the Viridis colorscale.
4444

4545
```python
4646
import plotly.express as px

python/creating-and-updating-figures.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jupyter:
3030
name: Creating and Updating Figures
3131
page_type: example_index
3232
permalink: python/creating-and-updating-figures/
33-
redirect_from:
33+
redirect_from:
3434
- python/user-guide/
3535
- python/user-g/
3636
thumbnail: thumbnail/creating-and-updating-figures.png
@@ -171,7 +171,7 @@ fig.add_trace(go.Bar(x=[1, 2, 3], y=[1, 3, 2]))
171171
fig.show()
172172
```
173173

174-
You can also add traces to a figure produced by a figure factory or plotly express.
174+
You can also add traces to a figure produced by a figure factory or Plotly Express.
175175

176176
```python
177177
import plotly.express as px
@@ -199,7 +199,7 @@ fig.add_trace(go.Bar(y=[2, 1, 3]), row=1, col=2)
199199
fig.show()
200200
```
201201

202-
This also works for figures created by plotly express using the `facet_row` and or `facet_col` arguments.
202+
This also works for figures created by Plotly Express using the `facet_row` and or `facet_col` arguments.
203203

204204
```python
205205
import plotly.express as px
@@ -426,7 +426,7 @@ fig.update_traces(marker=dict(color="RoyalBlue"),
426426
fig.show()
427427
```
428428

429-
The `update_traces` method can also be used on figures produced by figure factories or plotly express. Here's an example of updating the regression lines produced by plotly express to be dotted.
429+
The `update_traces` method can also be used on figures produced by figure factories or Plotly Express. Here's an example of updating the regression lines produced by Plotly Express to be dotted.
430430

431431
```python
432432
import pandas as pd
@@ -444,7 +444,7 @@ Suppose the updates that you want to make to a collection of traces depend on th
444444

445445
As its first argument, the `for_each_trace` method accepts a function that accepts and updates one trace at a time. Like `update_traces`, `for_each_trace` also accepts `selector`, `row`, and `col` arguments to control which traces should be considered.
446446

447-
Here is an example of using `for_each_trace` to replace the equal-sign with a colon in the legend name of each trace in a figure produced by plotly express.
447+
Here is an example of using `for_each_trace` to replace the equal-sign with a colon in the legend name of each trace in a figure produced by Plotly Express.
448448

449449
```python
450450
import pandas as pd
@@ -460,7 +460,7 @@ fig.show()
460460
```
461461

462462
#### The update axis methods
463-
Graph object figures support `update_xaxes` and `update_yaxes` methods that may be used to update multiple nested properties of one or more of a figure's axes. Here is an example of using `update_xaxes` to disable the vertical grid lines across all subplots in a figure produced by plotly express.
463+
Graph object figures support `update_xaxes` and `update_yaxes` methods that may be used to update multiple nested properties of one or more of a figure's axes. Here is an example of using `update_xaxes` to disable the vertical grid lines across all subplots in a figure produced by Plotly Express.
464464

465465
```python
466466
import pandas as pd
@@ -477,7 +477,7 @@ There are also `for_each_xaxis` and `for_each_yaxis` methods that are analogous
477477
#### Chaining figure operations
478478
All of the figure update operations described above are methods that return a reference to the figure being modified. This makes it possible the chain multiple figure modification operations together into a single expression.
479479

480-
Here is an example of a chained expression that creates a faceted scatter plot with OLS trend lines using plotly express, sets the title font size using `update_layout`, disables vertical grid lines using `update_xaxes`, updates the width and dash pattern of the trend lines using `update_traces`, and then displays the figure using `show`.
480+
Here is an example of a chained expression that creates a faceted scatter plot with OLS trend lines using Plotly Express, sets the title font size using `update_layout`, disables vertical grid lines using `update_xaxes`, updates the width and dash pattern of the trend lines using `update_traces`, and then displays the figure using `show`.
481481

482482
```python
483483
import plotly.express as px

python/error-bars.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jupyter:
3737
v4upgrade: true
3838
---
3939

40-
### Error Bars with plotly express
40+
### Error Bars with Plotly Express
4141

4242
[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).
4343

@@ -50,7 +50,7 @@ fig = px.scatter(iris, x="sepal_width", y="sepal_length", color="species",
5050
fig.show()
5151
```
5252

53-
#### Asymmetric Error Bars with plotly express
53+
#### Asymmetric Error Bars with Plotly Express
5454

5555
```python
5656
import plotly.express as px

python/histograms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jupyter:
3838
v4upgrade: true
3939
---
4040

41-
## Histogram with plotly express
41+
## Histogram with Plotly Express
4242

4343
In statistics, a [histogram](https://en.wikipedia.org/wiki/Histogram) is representation of the distribution of numerical data, where the data are binned and the count for each bin is represented. More generally, in plotly a histogram is an aggregated bar chart, with several possible aggregation functions (e.g. sum, average, count...). Also, the data to be binned can be numerical data but also categorical or date data.
4444

python/horizontal-bar-charts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ jupyter:
4040
See more examples of bar charts (including vertical bar charts) and styling options [here](https://plot.ly/python/bar-charts/).
4141

4242

43-
### Horizontal Bar Chart with plotly express
43+
### Horizontal Bar Chart with Plotly Express
4444

4545
[Plotly Express](/python/plotly-express/) is the easy-to-use, high-level interface to Plotly, which [operates on "tidy" data](/python/px-arguments/). For a horizontal bar char, use the `px.bar` function with `orientation='h'`.
4646

4747

48-
#### Basic Horizontal Bar Chart with plotly express
48+
#### Basic Horizontal Bar Chart with Plotly Express
4949

5050

5151
```python

0 commit comments

Comments
 (0)