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
This example shows how to use [bingroup](https://plotly.com/python/reference/histogram/#histogram-bingroup) attribute to have a compatible bin settings for both histograms. To define `start`, `end` and `size` value of x-axis and y-axis seperatly, set [ybins](https://plotly.com/python/reference/histogram2dcontour/#histogram2dcontour-ybins) and `xbins`.
140
+
This example shows how to use [bingroup](https://plotly.com/python/reference/histogram/#histogram-bingroup) attribute to have a compatible bin settings for both histograms. To define `start`, `end` and `size` value of x-axis and y-axis separately, set [ybins](https://plotly.com/python/reference/histogram2dcontour/#histogram2dcontour-ybins) and `xbins`.
Here we visualize slices parallel to the axes on top of isosurfaces. For a clearer visualization, the `fill` ratio of isosurfaces is decreased below 1 (completely filled).
136
136
@@ -235,4 +235,4 @@ fig.show()
235
235
```
236
236
237
237
#### Reference
238
-
See https://plotly.com/python/reference/isosurface/ for more information and chart attribute options!
238
+
See https://plotly.com/python/reference/isosurface/ for more information and chart attribute options!
Copy file name to clipboardExpand all lines: doc/python/annotated-heatmap.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ fig.show()
82
82
```
83
83
84
84
#### Custom Text and X & Y Labels
85
-
set `annotation_text` to a matrix with the same dimmensions as `z`
85
+
set `annotation_text` to a matrix with the same dimensions as `z`
86
86
87
87
```python
88
88
import plotly.figure_factory as ff
@@ -203,4 +203,4 @@ fig.show()
203
203
204
204
#### Reference
205
205
206
-
For more info on Plotly heatmaps, see: https://plotly.com/python/reference/heatmap/.<br> For more info on using colorscales with Plotly see: https://plotly.com/python/heatmap-and-contour-colorscales/ <br>For more info on `ff.create_annotated_heatmap()`, see the [full function reference](https://plotly.com/python-api-reference/generated/plotly.figure_factory.create_annotated_heatmap.html#plotly.figure_factory.create_annotated_heatmap)
206
+
For more info on Plotly heatmaps, see: https://plotly.com/python/reference/heatmap/.<br> For more info on using colorscales with Plotly see: https://plotly.com/python/heatmap-and-contour-colorscales/ <br>For more info on `ff.create_annotated_heatmap()`, see the [full function reference](https://plotly.com/python-api-reference/generated/plotly.figure_factory.create_annotated_heatmap.html#plotly.figure_factory.create_annotated_heatmap)
Copy file name to clipboardExpand all lines: doc/python/axes.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ The axis type is auto-detected by looking at data from the first [trace](/python
66
66
67
67
### Forcing an axis to be categorical
68
68
69
-
It is possible to force the axis type by setting explicitely`xaxis_type`. In the example below the automatic X axis type would be `linear` (because there are not more than twice as many unique strings as unique numbers) but we force it to be `category`.
69
+
It is possible to force the axis type by setting explicitly`xaxis_type`. In the example below the automatic X axis type would be `linear` (because there are not more than twice as many unique strings as unique numbers) but we force it to be `category`.
Copy file name to clipboardExpand all lines: doc/python/carpet-contour.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ jupyter:
37
37
38
38
### Basic Carpet Plot
39
39
40
-
Set the `x` and `y`coorindates, using `x` and `y` attributes. If `x`coorindate values are ommitted a cheater plot will be created. To save parameter values use `a` and `b` attributes. To make changes to the axes, use `aaxis` or `baxis` attributes. For a more detailed list of axes attributes refer to [python reference](https://plotly.com/python/reference/carpet/#carpet-aaxis).
40
+
Set the `x` and `y`coordinates, using `x` and `y` attributes. If `x`coordinate values are omitted a cheater plot will be created. To save parameter values use `a` and `b` attributes. To make changes to the axes, use `aaxis` or `baxis` attributes. For a more detailed list of axes attributes refer to [python reference](https://plotly.com/python/reference/carpet/#carpet-aaxis).
41
41
42
42
```python
43
43
import plotly.graph_objects as go
@@ -286,4 +286,4 @@ fig.show()
286
286
287
287
### Reference
288
288
289
-
See https://plotly.com/python/reference/contourcarpet/ for more information and chart attribute options!
289
+
See https://plotly.com/python/reference/contourcarpet/ for more information and chart attribute options!
Copy file name to clipboardExpand all lines: doc/python/carpet-plot.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ jupyter:
39
39
### Set X and Y Coordinates
40
40
41
41
42
-
To set the `x` and `y` coordinates use `x` and `y` attributes. If `x`coordindate values are ommitted a cheater plot will be created. The plot below has a `y` array specified but requires `a` and `b` parameter values before an axis may be plotted.
42
+
To set the `x` and `y` coordinates use `x` and `y` attributes. If `x`coordinate values are omitted a cheater plot will be created. The plot below has a `y` array specified but requires `a` and `b` parameter values before an axis may be plotted.
43
43
<!-- #endregion -->
44
44
45
45
```python
@@ -189,4 +189,4 @@ To add points and lines see [Carpet Scatter Plots](https://plotly.com/python/car
189
189
190
190
### Reference
191
191
192
-
See https://plotly.com/python/reference/carpet/ for more information and chart attribute options!
192
+
See https://plotly.com/python/reference/carpet/ for more information and chart attribute options!
Copy file name to clipboardExpand all lines: doc/python/categorical-axes.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ This page shows examples of how to configure [2-dimensional Cartesian axes](/pyt
40
40
41
41
The different types of Cartesian axes are configured via the `xaxis.type` or `yaxis.type` attribute, which can take on the following values:
42
42
43
-
-`'linear'` (see the [linear axes tutoria](/python/axes/))
43
+
-`'linear'` (see the [linear axes tutorial](/python/axes/))
44
44
-`'log'` (see the [log plot tutorial](/python/log-plots/))
45
45
-`'date'` (see the [tutorial on timeseries](/python/time-series/))
46
46
-`'category'` see below
@@ -55,7 +55,7 @@ The axis type is auto-detected by looking at data from the first [trace](/python
55
55
56
56
### Forcing an axis to be categorical
57
57
58
-
It is possible to force the axis type by setting explicitely`xaxis_type`. In the example below the automatic X axis type would be `linear` (because there are not more than twice as many unique strings as unique numbers) but we force it to be `category`.
58
+
It is possible to force the axis type by setting explicitly`xaxis_type`. In the example below the automatic X axis type would be `linear` (because there are not more than twice as many unique strings as unique numbers) but we force it to be `category`.
Copy file name to clipboardExpand all lines: doc/python/colorscales.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ jupyter:
22
22
pygments_lexer: ipython3
23
23
version: 3.7.6
24
24
plotly:
25
-
description: How to set, create and control continous color scales and color bars
25
+
description: How to set, create and control continuous color scales and color bars
26
26
in scatter, bar, map and heatmap figures.
27
27
display_as: file_settings
28
28
has_thumbnail: true
@@ -46,7 +46,7 @@ In the same way as the X or Y position of a mark in cartesian coordinates can be
46
46
This document explains the following four continuous-color-related concepts:
47
47
48
48
-**color scales** represent a mapping between the range 0 to 1 and some color domain within which colors are to be interpolated (unlike [discrete color sequences](/python/discrete-color/) which are never interpolated). Color scale defaults depend on the `layout.colorscales` attributes of the active [template](/python/templates/), and can be explicitly specified using the `color_continuous_scale` argument for many [Plotly Express](/python/plotly-express/) functions or the `colorscale` argument in various `graph_objects` such as `layout.coloraxis` or `marker.colorscale` in `go.Scatter` traces or `colorscale` in `go.Heatmap` traces. For example `[(0,"blue"), (1,"red")]` is a simple color scale that interpolated between blue and red via purple, which can also be implicitly represented as `["blue", "red"]` and happens to be one of the [built-in color scales](/python/builtin-colorscales) and therefore referred to as `"bluered"` or `plotly.colors.sequential.Bluered`.
49
-
-**color ranges** represent the minimum to maximum range of data to be mapped onto the 0 to 1 input range of the color scale. Color ranges default to the range of the input data and can be explicitly specified using either the `range_color` or `color_continous_midpoint` arguments for many Plotly Express functions, or `cmin`/`cmid`/`cmax` or `zmin`/`zmid`/`zmax` for various `graph_objects` such as `layout.coloraxis.cmin` or `marker.cmin` in `go.Scatter` traces or `cmin` in `go.Heatmap` traces. For example, if a color range of `[100, 200]` is used with the color scale above, then any mark with a color value of 100 or less will be blue, and 200 or more will be red. Marks with values in between will be various shades of purple.
49
+
-**color ranges** represent the minimum to maximum range of data to be mapped onto the 0 to 1 input range of the color scale. Color ranges default to the range of the input data and can be explicitly specified using either the `range_color` or `color_continuous_midpoint` arguments for many Plotly Express functions, or `cmin`/`cmid`/`cmax` or `zmin`/`zmid`/`zmax` for various `graph_objects` such as `layout.coloraxis.cmin` or `marker.cmin` in `go.Scatter` traces or `cmin` in `go.Heatmap` traces. For example, if a color range of `[100, 200]` is used with the color scale above, then any mark with a color value of 100 or less will be blue, and 200 or more will be red. Marks with values in between will be various shades of purple.
50
50
-**color bars** are legend-like visible representations of the color range and color scale with optional tick labels and tick marks. Color bars can be configured with attributes inside `layout.coloraxis.colorbar` or in places like `marker.colorbar` in `go.Scatter` traces or `colorbar` in `go.Heatmap` traces.
51
51
-**color axes** connect color scales, color ranges and color bars to a trace's data. By default, any colorable attribute in a trace is attached to its own local color axis, but color axes may also be shared across attributes and traces by setting e.g. `marker.coloraxis` in `go.Scatter` traces or `coloraxis` in `go.Heatmap` traces. Local color axis attributes are configured within traces e.g. `marker.showscale` whereas shared color axis attributes are configured within the Layout e.g. `layout.coloraxis.showscale`.
52
52
@@ -60,7 +60,7 @@ For example, in the `tips` dataset, the `size` column contains numbers:
Copy file name to clipboardExpand all lines: doc/python/configuration-options.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -252,7 +252,7 @@ fig.show(config={
252
252
253
253
### Add optional shape-drawing buttons to modebar
254
254
255
-
Some modebar buttons of Cartesian plots are optional and have to be added explictly, using the `modeBarButtonsToAdd` config attribute. These buttons are used for drawing or erasing shapes. See [the tutorial on shapes and shape drawing](python/shapes#drawing-shapes-on-cartesian-plots) for more details.
255
+
Some modebar buttons of Cartesian plots are optional and have to be added explicitly, using the `modeBarButtonsToAdd` config attribute. These buttons are used for drawing or erasing shapes. See [the tutorial on shapes and shape drawing](python/shapes#drawing-shapes-on-cartesian-plots) for more details.
Copy file name to clipboardExpand all lines: doc/python/county-choropleth.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ conda install geopandas
59
59
<!-- #endraw -->
60
60
61
61
#### FIPS and Values
62
-
Every US state and county has an assined ID regulated by the US Federal Government under the term FIPS (Federal Information Processing Standards) codes. There are state codes and county codes: the 2016 state and county FIPS codes can be found at the [US Census Website](https://www.census.gov/geographies/reference-files/2016/demo/popest/2016-fips.html).
62
+
Every US state and county has an assigned ID regulated by the US Federal Government under the term FIPS (Federal Information Processing Standards) codes. There are state codes and county codes: the 2016 state and county FIPS codes can be found at the [US Census Website](https://www.census.gov/geographies/reference-files/2016/demo/popest/2016-fips.html).
63
63
64
64
Combine a state FIPS code (eg. `06` for California) with a county FIPS code of the state (eg. `059` for Orange county) and this new state-county FIPS code (`06059`) uniquely refers to the specified state and county.
65
65
@@ -197,7 +197,7 @@ Below is a choropleth that uses several other parameters. For a full list of all
197
197
198
198
-`simplify_county` determines the simplification factor for the counties. The larger the number, the fewer vertices and edges each polygon has. See http://toblerity.org/shapely/manual.html#object.simplify for more information.
199
199
-`simplify_state` simplifies the state outline polygon. See the [documentation](http://toblerity.org/shapely/manual.html#object.simplify) for more information.
200
-
Default for both `simplify_county` and `simplif_state` is 0.02
200
+
Default for both `simplify_county` and `simplify_state` is 0.02
201
201
202
202
Note: This choropleth uses a divergent categorical colorscale. See http://react-colorscales.getforge.io/ for other cool colorscales.
203
203
@@ -277,4 +277,4 @@ Also see Mapbox county choropleths made in Python: [https://plotly.com/python/ma
277
277
278
278
### Reference
279
279
280
-
For more info on `ff.create_choropleth()`, see the [full function reference](https://plotly.com/python-api-reference/generated/plotly.figure_factory.create_choropleth.html)
280
+
For more info on `ff.create_choropleth()`, see the [full function reference](https://plotly.com/python-api-reference/generated/plotly.figure_factory.create_choropleth.html)
Copy file name to clipboardExpand all lines: doc/python/creating-and-updating-figures.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ The `plotly` Python package exists to create, manipulate and [render](/python/re
43
43
44
44
### Figures As Dictionaries
45
45
46
-
At a low level, figures can be represented as dictionaries and displayed using functions from the `plotly.io` module. The `fig`dictonary in the example below describes a figure. It contains a single `bar` trace and a title.
46
+
At a low level, figures can be represented as dictionaries and displayed using functions from the `plotly.io` module. The `fig`dictionary in the example below describes a figure. It contains a single `bar` trace and a title.
Copy file name to clipboardExpand all lines: doc/python/custom-buttons.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -348,7 +348,7 @@ fig.show()
348
348
349
349
#### Update Button
350
350
The `"update"` method should be used when modifying the data and layout sections of the graph.<br>
351
-
This example demonstrates how to update which traces are displayed while simulaneously updating layout attributes such as the chart title and annotations.
351
+
This example demonstrates how to update which traces are displayed while simultaneously updating layout attributes such as the chart title and annotations.
Copy file name to clipboardExpand all lines: doc/python/dendrogram.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ jupyter:
35
35
36
36
#### Basic Dendrogram
37
37
38
-
A [dendrogram](https://en.wikipedia.org/wiki/Dendrogram) is a diagram representing a tree. The [figure factory](/python/figure-factories/) called `create_dendrogram` performs [hierachical clustering](https://en.wikipedia.org/wiki/Hierarchical_clustering) on data and represents the resulting tree. Values on the tree depth axis correspond to distances between clusters.
38
+
A [dendrogram](https://en.wikipedia.org/wiki/Dendrogram) is a diagram representing a tree. The [figure factory](/python/figure-factories/) called `create_dendrogram` performs [hierarchical clustering](https://en.wikipedia.org/wiki/Hierarchical_clustering) on data and represents the resulting tree. Values on the tree depth axis correspond to distances between clusters.
39
39
40
40
Dendrogram plots are commonly used in computational biology to show the clustering of genes or samples, sometimes in the margin of heatmaps.
41
41
@@ -178,4 +178,4 @@ fig.show()
178
178
179
179
### Reference
180
180
181
-
For more info on `ff.create_dendrogram()`, see the [full function reference](https://plotly.com/python-api-reference/generated/plotly.figure_factory.create_dendrogram.html)
181
+
For more info on `ff.create_dendrogram()`, see the [full function reference](https://plotly.com/python-api-reference/generated/plotly.figure_factory.create_dendrogram.html)
Copy file name to clipboardExpand all lines: doc/python/discrete-color.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ In the same way as the X or Y position of a mark in cartesian coordinates can be
45
45
This document explains the following discrete-color-related concepts:
46
46
47
47
-**color sequences** are lists of colors to be mapped onto discrete data values. No interpolation occurs when using color sequences, unlike with [continuous color scales](/python/colorscales/), and each color is used as-is. Color sequence defaults depend on the `layout.colorway` attribute of the active [template](/python/templates/), and can be explicitly specified using the `color_discrete_sequence` argument for many [Plotly Express](/python/plotly-express/) functions.
48
-
-**legends** are visible representations of the mapping between colors and data values. Legend markers also change shape when used with various kinds of traces, such as symbols or lines for scatter-like traces. [Legends are configurable](/python/legend/) under the `layout.legend` attribute. Legends are the discrete equivalent of [continous color bars](/python/colorscales/)
48
+
-**legends** are visible representations of the mapping between colors and data values. Legend markers also change shape when used with various kinds of traces, such as symbols or lines for scatter-like traces. [Legends are configurable](/python/legend/) under the `layout.legend` attribute. Legends are the discrete equivalent of [continuous color bars](/python/colorscales/)
49
49
50
50
### Discrete Color with Plotly Express
51
51
@@ -68,7 +68,7 @@ The `size` column, however, contains numbers:
0 commit comments