Skip to content

Commit 8f9d2b1

Browse files
python/next -> python
1 parent 68b4dcc commit 8f9d2b1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+65
-65
lines changed

python/3d-axes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jupyter:
4343
attributes such as `xaxis`, `yaxis` and `zaxis` parameters, in order to
4444
set the range, title, ticks, color etc. of the axes.
4545

46-
For creating 3D charts, see [this page](https://plot.ly/python/next/3d-charts/).
46+
For creating 3D charts, see [this page](https://plot.ly/python/3d-charts/).
4747

4848
```python
4949
import plotly.graph_objects as go

python/3d-scatter-plots.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jupyter:
3939

4040
## 3D scatter plot with plotly express
4141

42-
Like the [2D scatter plot](https://plot.ly/python/next/line-and-scatter/) `px.scatter`, the 3D function `px.scatter_3d` plots individual data in three-dimensional space. Note that [Plotly Express](../plotly-express/) functions take as a first argument a [tidy `pandas.DataFrame`](https://www.jeannicholashould.com/tidy-data-in-python.html) such as the ones defined in ``px.data``.
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. Note that [Plotly Express](../plotly-express/) functions take as a first argument a [tidy `pandas.DataFrame`](https://www.jeannicholashould.com/tidy-data-in-python.html) such as the ones defined in ``px.data``.
4343

4444
```python
4545
import plotly.express as px
@@ -79,7 +79,7 @@ fig.update_layout(margin=dict(l=0, r=0, b=0, t=0))
7979
#### Basic 3D Scatter Plot
8080

8181
When data are not available as tidy dataframes, it is also possible to use the more generic `go.Scatter3D` from `plotly.graph_objs`.
82-
Like the [2D scatter plot](https://plot.ly/python/next/line-and-scatter/) `go.Scatter`, `go.Scatter3d` plots individual data in three-dimensional space.
82+
Like the [2D scatter plot](https://plot.ly/python/line-and-scatter/) `go.Scatter`, `go.Scatter3d` plots individual data in three-dimensional space.
8383

8484
```python
8585
import plotly.graph_objects as go

python/bar-charts.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ fig.show()
327327
```
328328

329329
### Horizontal Bar Charts
330-
See examples of horizontal bar charts [here](https://plot.ly/python/next/horizontal-bar-charts/).
330+
See examples of horizontal bar charts [here](https://plot.ly/python/horizontal-bar-charts/).
331331

332332

333333
### Dash Example

python/box-plots.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ jupyter:
3737
v4upgrade: true
3838
---
3939

40-
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/next/statistical-charts/).
40+
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

4343
## Box Plot with plotly express
4444

4545
[Plotly Express](../plotly-express/) functions take as a first argument a [tidy `pandas.DataFrame`](https://www.jeannicholashould.com/tidy-data-in-python.html). In a box plot created by `px.box`, the distribution of the column given as `y` argument is represented.
4646

47-
If your data are not available as a tidy dataframe, you can use ``go.Box`` as [described below](https://plot.ly/python/next/box-plots/#box-plot-with-go.Box).
47+
If your data are not available as a tidy dataframe, you can use ``go.Box`` as [described below](https://plot.ly/python/box-plots/#box-plot-with-go.Box).
4848

4949
```python
5050
import plotly.express as px

python/bubble-charts.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jupyter:
4040

4141
## Bubble chart with plotly.express
4242

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/next/line-and-scatter/).
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/).
4444

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

python/county-choropleth.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ fig.layout.template = None
272272
fig.show()
273273
```
274274

275-
Also see Mapbox county choropleths made in Python: [https://plot.ly/python/mapbox-county-choropleth/](https://plot.ly/python/next/mapbox-county-choropleth/)
275+
Also see Mapbox county choropleths made in Python: [https://plot.ly/python/mapbox-county-choropleth/](https://plot.ly/python/mapbox-county-choropleth/)
276276

277277

278278
#### Reference

python/custom-buttons.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The [updatemenu method](https://plot.ly/python/reference/#layout-updatemenus-but
4141
- `"restyle"`: modify data or data attributes
4242
- `"relayout"`: modify layout attributes
4343
- `"update"`: modify data **and** layout attributes
44-
- `"animate"`: start or pause an [animation](https://plot.ly/python/next/#animations))
44+
- `"animate"`: start or pause an [animation](https://plot.ly/python/#animations))
4545

4646

4747
#### Restyle Button

python/distplot.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jupyter:
3838

3939
## Combined statistical representations with px.histogram
4040

41-
Several representations of statistical distributions are available in plotly, such as [histograms](https://plot.ly/python/next/histograms/), [violin plots](https://plot.ly/python/next/violin/), [box plots](https://plot.ly/python/next/box-plots/) (see [the complete list here](https://plot.ly/python/next/statistical-charts/)). It is also possible to combine several representations in the same plot.
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.
4242

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

python/dropdowns.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The [updatemenu method](https://plot.ly/python/reference/#layout-updatemenus-but
4242
- `"restyle"`: modify data or data attributes
4343
- `"relayout"`: modify layout attributes
4444
- `"update"`: modify data **and** layout attributes
45-
- `"animate"`: start or pause an [animation](https://plot.ly/python/next/#animations)
45+
- `"animate"`: start or pause an [animation](https://plot.ly/python/#animations)
4646

4747

4848
## Restyle Dropdown

python/error-bars.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jupyter:
3939

4040
### Error Bars with plotly express
4141

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/next/line-and-scatter/), [`px.line`](https://plot.ly/python/next/line-charts/), [`px.bar`](https://plot.ly/python/next/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](../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).
4343

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

python/facet-plots.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jupyter:
4040
### Facet and Trellis Plots
4141

4242
Facet plots, also known as trellis plots or small multiples, are figures made up of multiple subplots which have the same set of axes, where each subplot shows a subset of the data. While it is straightforward to use `plotly`'s [subplot capabilities]
43-
(/python/subplots/) to make such figures, it's far easier to use the built-in `facet_row` and `facet_col` arguments in the various [Plotly Express](/python/next/plotly-express/) functions.
43+
(/python/subplots/) to make such figures, it's far easier to use the built-in `facet_row` and `facet_col` arguments in the various [Plotly Express](/python/plotly-express/) functions.
4444

4545
### Scatter Plot Column Facets
4646

python/gantt.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jupyter:
4040

4141
A [Gantt chart](https://en.wikipedia.org/wiki/Gantt_chart) is a type of bar chart that illustrates a project schedule. The chart lists the tasks to be performed on the vertical axis, and time intervals on the horizontal axis. The width of the horizontal bars in the graph shows the duration of each activity.
4242

43-
See also the [bar charts examples](https://plot.ly/python/next/bar-charts/).
43+
See also the [bar charts examples](https://plot.ly/python/bar-charts/).
4444

4545

4646
#### Simple Gantt Chart

python/getting-started.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jupyter:
3636

3737
<!-- #region -->
3838
### Overview
39-
The plotly Python library ([plotly.py](https://plot.ly/python/next/)) is an interactive, [open-source](https://github.com/plotly/plotly.py) plotting library that supports over 40 unique chart types covering a wide range of statistical, financial, geographic, scientific, and 3-dimensional use-cases.
39+
The plotly Python library ([plotly.py](https://plot.ly/python/)) is an interactive, [open-source](https://github.com/plotly/plotly.py) plotting library that supports over 40 unique chart types covering a wide range of statistical, financial, geographic, scientific, and 3-dimensional use-cases.
4040

4141
Built on top of the Plotly JavaScript library ([plotly.js](https://plot.ly/javascript/)), plotly.py enables Python users to create beautiful interactive web-based visualizations that can be displayed in Jupyter notebooks, saved to standalone HTML files, or served as part of pure Python-built web applications using Dash.
4242

@@ -221,7 +221,7 @@ or conda.
221221
$ conda install -c plotly/label/test plotly-geo=1.0.0rc1
222222
```
223223

224-
See [*USA County Choropleth Maps in Python*](https://plot.ly/python/next/county-choropleth/) for more information on the county choropleth figure factory.
224+
See [*USA County Choropleth Maps in Python*](https://plot.ly/python/county-choropleth/) for more information on the county choropleth figure factory.
225225

226226
#### Chart Studio Support
227227
The `chart-studio` package can be used to upload plotly figures to Plotly's Chart

python/histograms.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ fig.show()
118118

119119
#### Visualizing the distribution
120120

121-
With the `marginal` keyword, a subplot is drawn alongside the histogram, visualizing the distribution. See [the distplot page](https://plot.ly/python/next/distplot/)for more examples of combined statistical representations.
121+
With the `marginal` keyword, a subplot is drawn alongside the histogram, visualizing the distribution. See [the distplot page](https://plot.ly/python/distplot/)for more examples of combined statistical representations.
122122

123123
```python
124124
import plotly.express as px

python/horizontal-bar-charts.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jupyter:
3737
v4upgrade: true
3838
---
3939

40-
See more examples of bar charts (including vertical bar charts) and styling options [here](https://plot.ly/python/next/bar-charts/).
40+
See more examples of bar charts (including vertical bar charts) and styling options [here](https://plot.ly/python/bar-charts/).
4141

4242

4343
### Horizontal Bar Chart with plotly express
@@ -342,4 +342,4 @@ fig.show()
342342
```
343343

344344
### Reference
345-
See more examples of bar charts and styling options [here](https://plot.ly/python/next/bar-charts/).<br> See https://plot.ly/python/reference/#bar for more information and chart attribute options!
345+
See more examples of bar charts and styling options [here](https://plot.ly/python/bar-charts/).<br> See https://plot.ly/python/reference/#bar for more information and chart attribute options!

python/images.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ fig.show()
7373
```
7474

7575
#### Add a Logo
76-
See more examples of [adding logos to charts](https://plot.ly/python/next/logos/)!
76+
See more examples of [adding logos to charts](https://plot.ly/python/logos/)!
7777

7878
```python
7979
import plotly.graph_objects as go

python/line-and-scatter.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ fig.show()
9292

9393
#### Line and Scatter Plots
9494

95-
Use `mode` argument to choose between markers, lines, or a combination of both. For more options about line plots, see also the [line charts notebook](https://plot.ly/python/next/line-charts/) and the [filled area plots notebook](https://plot.ly/python/next/filled-area-plots/).
95+
Use `mode` argument to choose between markers, lines, or a combination of both. For more options about line plots, see also the [line charts notebook](https://plot.ly/python/line-charts/) and the [filled area plots notebook](https://plot.ly/python/filled-area-plots/).
9696

9797
```python
9898
import plotly.graph_objects as go
@@ -124,7 +124,7 @@ fig.show()
124124

125125
#### Bubble Scatter Plots
126126

127-
In [bubble charts](https://en.wikipedia.org/wiki/Bubble_chart), a third dimension of the data is shown through the size of markers. For more examples, see the [bubble chart notebook](https://plot.ly/python/next/bubble-charts/)
127+
In [bubble charts](https://en.wikipedia.org/wiki/Bubble_chart), a third dimension of the data is shown through the size of markers. For more examples, see the [bubble chart notebook](https://plot.ly/python/bubble-charts/)
128128

129129
```python
130130
import plotly.graph_objects as go

python/line-charts.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jupyter:
4242

4343
[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.line``, each data point is represented as a vertex (which location is given by the `x` and `y` columns) of a **polyline mark** in 2D space.
4444

45-
For more examples of line plots, see the [line and scatter notebook](https://plot.ly/python/next/line-and-scatter/).
45+
For more examples of line plots, see the [line and scatter notebook](https://plot.ly/python/line-and-scatter/).
4646

4747
#### Simple Line Plot with plotly.express
4848

python/ohlc-charts.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jupyter:
2929

3030
The [OHLC](https://en.wikipedia.org/wiki/Open-high-low-close_chart) chart (for open, high, low and close) is a style of financial chart describing open, high, low and close values for a given `x` coordinate (most likely time). The tip of the lines represent the `low` and `high` values and the horizontal segments represent the `open` and `close` values. Sample points where the close value is higher (lower) then the open value are called increasing (decreasing). By default, increasing items are drawn in green whereas decreasing are drawn in red.
3131

32-
See also [Candlestick Charts](https://plot.ly/python/next/candlestick-charts/) and [other financial charts](https://plot.ly/python/next/#financial-charts).
32+
See also [Candlestick Charts](https://plot.ly/python/candlestick-charts/) and [other financial charts](https://plot.ly/python/#financial-charts).
3333

3434
#### Simple OHLC Chart with Pandas
3535

python/polar-chart.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ fig = px.line_polar(wind, r="frequency", theta="direction", color="strength", li
7272
fig.show()
7373
```
7474

75-
See also the [wind rose page](https://plot.ly/python/next/wind-rose-charts/) for more wind rose visualizations in polar coordinates.
75+
See also the [wind rose page](https://plot.ly/python/wind-rose-charts/) for more wind rose visualizations in polar coordinates.
7676

7777

7878
## Polar Scatter Plot with go.Scatterpolar

python/renderers.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ The `plotly_mimetype` renderer creates a specification of the plotly figure (cal
158158
These are aliases for `plotly_mimetype` since this renderer is a good choice when working in JupyterLab, nteract, and the Visual Studio Code notebook interface.
159159

160160
##### Static image renderers
161-
A set of renderers is provided for displaying figures as static images. These renderers all rely on the orca static image export utility. See the [Static Image Export](https://plot.ly/python/next/static-image-export/) page for more information on getting set up with orca.
161+
A set of renderers is provided for displaying figures as static images. These renderers all rely on the orca static image export utility. See the [Static Image Export](https://plot.ly/python/static-image-export/) page for more information on getting set up with orca.
162162

163163
###### `png`, `jpeg`, and `svg`
164164
These renderers display figures as static PNG, JPEG, and SVG images respectively. These renderers are useful for user interfaces that do not support inline HTML output, but do support inline static images. Examples include the [QtConsole](https://qtconsole.readthedocs.io/en/stable/), [Spyder](https://www.spyder-ide.org/), and the PyCharm [notebook interface](https://www.jetbrains.com/help/pycharm/jupyter-notebook-support.html).
@@ -231,6 +231,6 @@ Dash is a Python framework for building web applications, and it provides built-
231231
It is important to note that Dash does not use the renderers framework discussed above, so you should not use the `.show` figure method or the `plotly.io.show` function inside Dash applications.
232232

233233
## Displaying figures using ipywidgets
234-
Plotly figures can be displayed in [ipywidgets](https://ipywidgets.readthedocs.io/en/stable/) contexts using `plotly.graph_objects.FigureWidget` objects. `FigureWidget` is a figure graph object (Just like `plotly.graph_objects.Figure`) so you can add traces to it and update it just like a regular `Figure`. But `FigureWidget` is also an ipywidgets object, which means that you can display it alongside other ipywidgets to build user interfaces right in the notebook. See the [Plotly FigureWidget Overview](https://plot.ly/python/next/figurewidget/) for more information on integrating plotly figures with ipywidgets.
234+
Plotly figures can be displayed in [ipywidgets](https://ipywidgets.readthedocs.io/en/stable/) contexts using `plotly.graph_objects.FigureWidget` objects. `FigureWidget` is a figure graph object (Just like `plotly.graph_objects.Figure`) so you can add traces to it and update it just like a regular `Figure`. But `FigureWidget` is also an ipywidgets object, which means that you can display it alongside other ipywidgets to build user interfaces right in the notebook. See the [Plotly FigureWidget Overview](https://plot.ly/python/figurewidget/) for more information on integrating plotly figures with ipywidgets.
235235

236236
It is important to note that `FigureWidget` does not use the renderers framework discussed above, so you should not use the `.show` figure method or the `plotly.io.show` function on `FigureWidget` objects.

python/scatter-plots-on-maps.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jupyter:
4040

4141
### Geographical Scatter Plot with px.scatter_geo
4242

43-
For data available as a tidy pandas DataFrame, use the [Plotly Express](/python/next/plotly-express/) function `px.scatter_geo` for a geographical scatter plot. The `size` argument is used to set the size of markers from a given column of the DataFrame.
43+
For data available as a tidy pandas DataFrame, use the [Plotly Express](/python/plotly-express/) function `px.scatter_geo` for a geographical scatter plot. The `size` argument is used to set the size of markers from a given column of the DataFrame.
4444

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

python/scattermapbox.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ To plot on Mapbox maps with Plotly you'll need a Mapbox account and a public [Ma
4545

4646
### Basic example with Plotly Express
4747

48-
For data available as a tidy pandas DataFrame, use the [Plotly Express](/python/next/plotly-express/) function `px.scatter_mapbox` for a scatter plot on a tile map.
48+
For data available as a tidy pandas DataFrame, use the [Plotly Express](/python/plotly-express/) function `px.scatter_mapbox` for a scatter plot on a tile map.
4949

5050
```python
5151
import plotly.express as px

python/templates.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jupyter:
2828
display_as: file_settings
2929
has_thumbnail: true
3030
name: Theming and templates
31-
page_type: example_index
31+
page_type: u-guide
3232
layout: user-guide
3333
permalink: python/templates/
3434
thumbnail: thumbnail/theming-and-templates.png

0 commit comments

Comments
 (0)