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/2D-Histogram.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,11 +38,11 @@ jupyter:
38
38
39
39
## 2D Histograms or Density Heatmaps
40
40
41
-
A 2D histogram, also known as a density heatmap, is the 2-dimensional generalization of a [histogram](/python/histograms/) which resembles a [heatmap](/python/heatmaps/) but is computed by grouping a set of points specified by their `x` and `y` coordinates into bins, and applying an aggregation function such as `count` or `sum` (if `z` is provided) to compute the color of the tile representing the bin. This kind of visualization (and the related [2D histogram contour, or density contour](https://plotly.com/python/2d-histogram-contour/)) is often used to manage over-plotting, or situations where showing large data sets as [scatter plots](/python/line-and-scatter/) would result in points overlapping each other and hiding patterns. For data sets of more than a few thousand points, a better approach than the ones listed here would be to [use Plotly with Datashader](/python/datashader/) to precompute the aggregations before displaying the data with Plotly.
41
+
A 2D histogram, also known as a density heatmap, is the 2-dimensional generalization of a [histogram](../histograms/) which resembles a [heatmap](../heatmaps/) but is computed by grouping a set of points specified by their `x` and `y` coordinates into bins, and applying an aggregation function such as `count` or `sum` (if `z` is provided) to compute the color of the tile representing the bin. This kind of visualization (and the related [2D histogram contour, or density contour](https://plotly.com/python/2d-histogram-contour/)) is often used to manage over-plotting, or situations where showing large data sets as [scatter plots](../line-and-scatter/) would result in points overlapping each other and hiding patterns. For data sets of more than a few thousand points, a better approach than the ones listed here would be to [use Plotly with Datashader](../datashader/) to precompute the aggregations before displaying the data with Plotly.
42
42
43
43
## Density Heatmaps with Plotly Express
44
44
45
-
[Plotly Express](/python/plotly-express/) is the easy-to-use, high-level interface to Plotly, which [operates on a variety of types of data](/python/px-arguments/) and produces [easy-to-style figures](/python/styling-plotly-express/). The Plotly Express function `density_heatmap()` can be used to produce density heatmaps.
45
+
[Plotly Express](../plotly-express/) is the easy-to-use, high-level interface to Plotly, which [operates on a variety of types of data](../px-arguments/) and produces [easy-to-style figures](../styling-plotly-express/). The Plotly Express function `density_heatmap()` can be used to produce density heatmaps.
Marginal plots can be added to visualize the 1-dimensional distributions of the two variables. Here we use a marginal [`histogram`](/python/histograms/). Other allowable values are `violin`, `box` and `rug`.
65
+
Marginal plots can be added to visualize the 1-dimensional distributions of the two variables. Here we use a marginal [`histogram`](../histograms/). Other allowable values are `violin`, `box` and `rug`.
Copy file name to clipboardExpand all lines: doc/python/2d-histogram-contour.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,11 +36,11 @@ jupyter:
36
36
37
37
## 2D Histogram Contours or Density Contours
38
38
39
-
A 2D histogram contour plot, also known as a density contour plot, is a 2-dimensional generalization of a [histogram](/python/histograms/) which resembles a [contour plot](/python/contour-plots/) but is computed by grouping a set of points specified by their `x` and `y` coordinates into bins, and applying an aggregation function such as `count` or `sum` (if `z` is provided) to compute the value to be used to compute contours. This kind of visualization (and the related [2D histogram, or density heatmap](/python/2d-histogram/)) is often used to manage over-plotting, or situations where showing large data sets as [scatter plots](/python/line-and-scatter/) would result in points overlapping each other and hiding patterns.
39
+
A 2D histogram contour plot, also known as a density contour plot, is a 2-dimensional generalization of a [histogram](../histograms/) which resembles a [contour plot](../contour-plots/) but is computed by grouping a set of points specified by their `x` and `y` coordinates into bins, and applying an aggregation function such as `count` or `sum` (if `z` is provided) to compute the value to be used to compute contours. This kind of visualization (and the related [2D histogram, or density heatmap](../2d-histogram/)) is often used to manage over-plotting, or situations where showing large data sets as [scatter plots](../line-and-scatter/) would result in points overlapping each other and hiding patterns.
40
40
41
41
## Density Contours with Plotly Express
42
42
43
-
[Plotly Express](/python/plotly-express/) is the easy-to-use, high-level interface to Plotly, which [operates on a variety of types of data](/python/px-arguments/) and produces [easy-to-style figures](/python/styling-plotly-express/). The Plotly Express function `density_contour()` can be used to produce density contours.
43
+
[Plotly Express](../plotly-express/) is the easy-to-use, high-level interface to Plotly, which [operates on a variety of types of data](../px-arguments/) and produces [easy-to-style figures](../styling-plotly-express/). The Plotly Express function `density_contour()` can be used to produce density contours.
Marginal plots can be added to visualize the 1-dimensional distributions of the two variables. Here we use a marginal [`histogram`](/python/histograms/). Other allowable values are `violin`, `box` and `rug`.
53
+
Marginal plots can be added to visualize the 1-dimensional distributions of the two variables. Here we use a marginal [`histogram`](../histograms/). Other allowable values are `violin`, `box` and `rug`.
Copy file name to clipboardExpand all lines: doc/python/3d-scatter-plots.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
@@ -35,7 +35,7 @@ jupyter:
35
35
36
36
## 3D scatter plot with Plotly Express
37
37
38
-
[Plotly Express](/python/plotly-express/) is the easy-to-use, high-level interface to Plotly, which [operates on a variety of types of data](/python/px-arguments/) and produces [easy-to-style figures](/python/styling-plotly-express/).
38
+
[Plotly Express](../plotly-express/) is the easy-to-use, high-level interface to Plotly, which [operates on a variety of types of data](../px-arguments/) and produces [easy-to-style figures](../styling-plotly-express/).
39
39
40
40
Like the [2D scatter plot](https://plotly.com/python/line-and-scatter/)`px.scatter`, the 3D function `px.scatter_3d` plots individual data in three-dimensional space.
If Plotly Express does not provide a good starting point, it is also possible to use [the more generic `go.Scatter3D` class from `plotly.graph_objects`](/python/graph-objects/).
97
+
If Plotly Express does not provide a good starting point, it is also possible to use [the more generic `go.Scatter3D` class from `plotly.graph_objects`](../graph-objects/).
98
98
Like the [2D scatter plot](https://plotly.com/python/line-and-scatter/)`go.Scatter`, `go.Scatter3d` plots individual data in three-dimensional space.
Copy file name to clipboardExpand all lines: doc/python/3d-volume.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
@@ -33,7 +33,7 @@ jupyter:
33
33
thumbnail: thumbnail/3d-volume-plots.jpg
34
34
---
35
35
36
-
A volume plot with `go.Volume` shows several partially transparent isosurfaces for volume rendering. The API of `go.Volume` is close to the one of `go.Isosurface`. However, whereas [isosurface plots](/python/3d-isosurface-plots/) show all surfaces with the same opacity, tweaking the `opacityscale` parameter of `go.Volume` results in a depth effect and better volume rendering.
36
+
A volume plot with `go.Volume` shows several partially transparent isosurfaces for volume rendering. The API of `go.Volume` is close to the one of `go.Isosurface`. However, whereas [isosurface plots](../3d-isosurface-plots/) show all surfaces with the same opacity, tweaking the `opacityscale` parameter of `go.Volume` results in a depth effect and better volume rendering.
37
37
38
38
## Simple volume plot with go.Volume
39
39
@@ -257,4 +257,4 @@ fig.show()
257
257
See https://plotly.com/python/reference/volume/ for more information and chart attribute options!
Copy file name to clipboardExpand all lines: doc/python/animations.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
@@ -36,7 +36,7 @@ jupyter:
36
36
37
37
#### Animated figures with Plotly Express
38
38
39
-
Several [Plotly Express](/python/plotly-express/) functions support the creation of animated figures through the `animation_frame` and `animation_group` arguments.
39
+
Several [Plotly Express](../plotly-express/) functions support the creation of animated figures through the `animation_frame` and `animation_group` arguments.
40
40
41
41
Here is an example of an animated scatter plot created with Plotly Express. Note that you should always fix the `x_range` and `y_range` to ensure that your data remains visible throughout the animation.
42
42
@@ -83,7 +83,7 @@ fig.show()
83
83
84
84
#### Animated figures with Graph Objects
85
85
86
-
The remainder of this section describes the low-level [graph objects](/python/graph-objects/) API for constructing animated figures manually.
86
+
The remainder of this section describes the low-level [graph objects](../graph-objects/) API for constructing animated figures manually.
Copy file name to clipboardExpand all lines: doc/python/annotated-heatmap.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
@@ -38,7 +38,7 @@ jupyter:
38
38
39
39
*New in v5.5*
40
40
41
-
As of version 5.5.0 of `plotly`, the **recommended way to [display annotated heatmaps is to use `px.imshow()`](/python/heatmaps/)** rather than the now-deprecated `create_annotated_heatmap` figure factory documented below for historical reasons.
41
+
As of version 5.5.0 of `plotly`, the **recommended way to [display annotated heatmaps is to use `px.imshow()`](../heatmaps/)** rather than the now-deprecated `create_annotated_heatmap` figure factory documented below for historical reasons.
42
42
43
43
44
44
#### Basic Annotated Heatmap for z-annotations
@@ -62,7 +62,7 @@ fig.show()
62
62
63
63
### Deprecated Figure Factory
64
64
65
-
The remaining examples show how to create Annotated Heatmaps with the deprecated `create_annotated_heatmap`[figure factory](/python/figure-factories/).
65
+
The remaining examples show how to create Annotated Heatmaps with the deprecated `create_annotated_heatmap`[figure factory](../figure-factories/).
Copy file name to clipboardExpand all lines: doc/python/axes.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,30 +33,30 @@ jupyter:
33
33
thumbnail: thumbnail/axes.png
34
34
---
35
35
36
-
This tutorial explain how to set the properties of [2-dimensional Cartesian axes](/python/figure-structure/#2d-cartesian-trace-types-and-subplots), namely [`go.layout.XAxis`](/python/reference/layout/xaxis/) and [`go.layout.YAxis`](/python/reference/layout/xaxis/).
36
+
This tutorial explain how to set the properties of [2-dimensional Cartesian axes](../figure-structure/#2d-cartesian-trace-types-and-subplots), namely [`go.layout.XAxis`](../reference/layout/xaxis/) and [`go.layout.YAxis`](../reference/layout/xaxis/).
37
37
38
38
Other kinds of subplots and axes are described in other tutorials:
39
39
40
-
-[3D axes](/python/3d-axes) The axis object is [`go.layout.Scene`](/python/reference/layout/scene/)
41
-
-[Polar axes](/python/polar-chart/). The axis object is [`go.layout.Polar`](/python/reference/layout/polar/)
42
-
-[Ternary axes](/python/ternary-plots). The axis object is [`go.layout.Ternary`](/python/reference/layout/ternary/)
43
-
-[Geo axes](/python/map-configuration/). The axis object is [`go.layout.Geo`](/python/reference/layout/geo/)
44
-
-[Map axes](/python/tile-map-layers/). The axis object is [`go.layout.Map`](/python/reference/layout/map/)
45
-
-[Color axes](/python/colorscales/). The axis object is [`go.layout.Coloraxis`](/python/reference/layout/coloraxis/).
40
+
-[3D axes](../3d-axes) The axis object is [`go.layout.Scene`](../reference/layout/scene/)
41
+
-[Polar axes](../polar-chart/). The axis object is [`go.layout.Polar`](../reference/layout/polar/)
42
+
-[Ternary axes](../ternary-plots). The axis object is [`go.layout.Ternary`](../reference/layout/ternary/)
43
+
-[Geo axes](../map-configuration/). The axis object is [`go.layout.Geo`](../reference/layout/geo/)
44
+
-[Map axes](../tile-map-layers/). The axis object is [`go.layout.Map`](../reference/layout/map/)
45
+
-[Color axes](../colorscales/). The axis object is [`go.layout.Coloraxis`](../reference/layout/coloraxis/).
46
46
47
-
**See also** the tutorials on [facet plots](/python/facet-plots/), [subplots](/python/subplots) and [multiple axes](/python/multiple-axes/).
47
+
**See also** the tutorials on [facet plots](../facet-plots/), [subplots](../subplots) and [multiple axes](../multiple-axes/).
48
48
49
49
### 2-D Cartesian Axis Types and Auto-Detection
50
50
51
51
The different types of Cartesian axes are configured via the `xaxis.type` or `yaxis.type` attribute, which can take on the following values:
52
52
53
53
-`'linear'` as described in this page
54
-
-`'log'` (see the [log plot tutorial](/python/log-plot/))
55
-
-`'date'` (see the [tutorial on timeseries](/python/time-series/))
56
-
-`'category'` (see the [categorical axes tutorial](/python/categorical-axes/))
57
-
-`'multicategory'` (see the [categorical axes tutorial](/python/categorical-axes/))
54
+
-`'log'` (see the [log plot tutorial](../log-plot/))
55
+
-`'date'` (see the [tutorial on timeseries](../time-series/))
56
+
-`'category'` (see the [categorical axes tutorial](../categorical-axes/))
57
+
-`'multicategory'` (see the [categorical axes tutorial](../categorical-axes/))
58
58
59
-
The axis type is auto-detected by looking at data from the first [trace](/python/figure-structure/) linked to this axis:
59
+
The axis type is auto-detected by looking at data from the first [trace](../figure-structure/) linked to this axis:
60
60
61
61
* First check for `multicategory`, then `date`, then `category`, else default to `linear` (`log` is never automatically selected)
62
62
*`multicategory` is just a shape test: is the array nested?
@@ -86,14 +86,14 @@ The different groups of Cartesian axes properties are
86
86
- range of the axis
87
87
- domain of the axis
88
88
89
-
The examples on this page apply to axes of any type, but extra attributes are available for [axes of type `category`](/python/categorical-axes/) and [axes of type `date`](/python/time-series/).
89
+
The examples on this page apply to axes of any type, but extra attributes are available for [axes of type `category`](../categorical-axes/) and [axes of type `date`](../time-series/).
90
90
91
91
92
92
#### Set and Style Axes Title Labels
93
93
94
94
##### Set axis title text with Plotly Express
95
95
96
-
Axis titles are automatically set to the column names when [using Plotly Express with a data frame as input](/python/px-arguments/).
96
+
Axis titles are automatically set to the column names when [using Plotly Express with a data frame as input](../px-arguments/).
0 commit comments