diff --git a/codegen/resources/plot-schema.json b/codegen/resources/plot-schema.json index ff766ea613..245f15f449 100644 --- a/codegen/resources/plot-schema.json +++ b/codegen/resources/plot-schema.json @@ -47008,7 +47008,7 @@ "editType": "calc", "role": "object", "side": { - "description": "Determines on which side of the the treemap the `pathbar` should be presented.", + "description": "Determines on which side of the treemap the `pathbar` should be presented.", "dflt": "top", "editType": "plot", "valType": "enumerated", @@ -64477,7 +64477,7 @@ }, "hovertext": { "arrayOk": true, - "description": "Sets hover text elements associated with each (a,b) point. If a single string, the same string appears over all the data points. If an array of strings, the items are mapped in order to the the data points in (a,b). To be seen, trace `hoverinfo` must contain a *text* flag.", + "description": "Sets hover text elements associated with each (a,b) point. If a single string, the same string appears over all the data points. If an array of strings, the items are mapped in order of the data points in (a,b). To be seen, trace `hoverinfo` must contain a *text* flag.", "dflt": "", "editType": "style", "valType": "string" @@ -66186,7 +66186,7 @@ }, "text": { "arrayOk": true, - "description": "Sets text elements associated with each (a,b) point. If a single string, the same string appears over all the data points. If an array of strings, the items are mapped in order to the the data points in (a,b). If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels.", + "description": "Sets text elements associated with each (a,b) point. If a single string, the same string appears over all the data points. If an array of strings, the items are mapped in order of the data points in (a,b). If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels.", "dflt": "", "editType": "calc", "valType": "string" @@ -81356,7 +81356,7 @@ }, "hovertext": { "arrayOk": true, - "description": "Sets hover text elements associated with each (a,b,c) point. If a single string, the same string appears over all the data points. If an array of strings, the items are mapped in order to the the data points in (a,b,c). To be seen, trace `hoverinfo` must contain a *text* flag.", + "description": "Sets hover text elements associated with each (a,b,c) point. If a single string, the same string appears over all the data points. If an array of strings, the items are mapped in order of the data points in (a,b,c). To be seen, trace `hoverinfo` must contain a *text* flag.", "dflt": "", "editType": "style", "valType": "string" @@ -83078,7 +83078,7 @@ }, "text": { "arrayOk": true, - "description": "Sets text elements associated with each (a,b,c) point. If a single string, the same string appears over all the data points. If an array of strings, the items are mapped in order to the the data points in (a,b,c). If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels.", + "description": "Sets text elements associated with each (a,b,c) point. If a single string, the same string appears over all the data points. If an array of strings, the items are mapped in order of the data points in (a,b,c). If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels.", "dflt": "", "editType": "calc", "valType": "string" @@ -93092,7 +93092,7 @@ "editType": "calc", "role": "object", "side": { - "description": "Determines on which side of the the treemap the `pathbar` should be presented.", + "description": "Determines on which side of the treemap the `pathbar` should be presented.", "dflt": "top", "editType": "plot", "valType": "enumerated", diff --git a/doc/python/carpet-plot.md b/doc/python/carpet-plot.md index 40d2b020f7..afd81107a7 100644 --- a/doc/python/carpet-plot.md +++ b/doc/python/carpet-plot.md @@ -117,7 +117,7 @@ fig.show() ### Cheater plot layout -The layout of cheater plots is not unique and depends upon the `cheaterslope` and axis `cheatertype` parameters. If `x` is not specified, each row of the `x` array is constructed based on the the formula `a + cheaterslope * b`, where `a` and `b` are either the value or the integer index of `a` and `b` respectively, depending on the corresponding axis `cheatertype`. Although the layout of the axis below is different than the plots above, it represents the same data as the axes above. +The layout of cheater plots is not unique and depends upon the `cheaterslope` and axis `cheatertype` parameters. If `x` is not specified, each row of the `x` array is constructed based on the formula `a + cheaterslope * b`, where `a` and `b` are either the value or the integer index of `a` and `b` respectively, depending on the corresponding axis `cheatertype`. Although the layout of the axis below is different than the plots above, it represents the same data as the axes above. ```python import plotly.graph_objects as go diff --git a/doc/python/parallel-categories-diagram.md b/doc/python/parallel-categories-diagram.md index 51ecd4168b..4407e1cb2e 100644 --- a/doc/python/parallel-categories-diagram.md +++ b/doc/python/parallel-categories-diagram.md @@ -114,7 +114,7 @@ fig.show() #### Multi-Color Parallel Categories Diagram -The color of the ribbons can be specified with the `line.color` property. Similar to other trace types, this property may be set to an array of numbers, which are then mapped to colors according to the the colorscale specified in the `line.colorscale` property. +The color of the ribbons can be specified with the `line.color` property. Similar to other trace types, this property may be set to an array of numbers, which are then mapped to colors according to the colorscale specified in the `line.colorscale` property. Here is an example of visualizing the survival rate of passengers in the titanic dataset, where the ribbons are colored based on survival outcome. diff --git a/doc/python/selections.md b/doc/python/selections.md index cab711e318..573ba08a82 100644 --- a/doc/python/selections.md +++ b/doc/python/selections.md @@ -153,7 +153,7 @@ fig.show() ## Referencing Selections on Multiple Cartesian Subplots -You can add selections to multiple Cartesian subplots by specifying `xref` and/or `yref`. Here, we add one selection on the plot with axis ids `x` and `y2` and two selections to the the plot with axis ids `x` and `y`. +You can add selections to multiple Cartesian subplots by specifying `xref` and/or `yref`. Here, we add one selection on the plot with axis ids `x` and `y2` and two selections to the plot with axis ids `x` and `y`. ```python import plotly.graph_objects as go diff --git a/doc/python/text-and-annotations.md b/doc/python/text-and-annotations.md index 56f341e872..0a3a3e1ee7 100644 --- a/doc/python/text-and-annotations.md +++ b/doc/python/text-and-annotations.md @@ -162,7 +162,7 @@ fig.show() ### Controlling Maximum Text Size -The `textfont_size` parameter of the the [pie](/python/pie-charts), [bar](/python/bar-charts)-like, [sunburst](/python/sunburst-charts) and [treemap](/python/treemaps) traces can be used to set the **maximum font size** used in the chart. Note that the `textfont` parameter sets the `insidetextfont` and `outsidetextfont` parameter, which can also be set independently. +The `textfont_size` parameter of the [pie](/python/pie-charts), [bar](/python/bar-charts)-like, [sunburst](/python/sunburst-charts) and [treemap](/python/treemaps) traces can be used to set the **maximum font size** used in the chart. Note that the `textfont` parameter sets the `insidetextfont` and `outsidetextfont` parameter, which can also be set independently. ```python import plotly.express as px diff --git a/plotly/graph_objs/_figure.py b/plotly/graph_objs/_figure.py index 4380205f48..a7c3325398 100644 --- a/plotly/graph_objs/_figure.py +++ b/plotly/graph_objs/_figure.py @@ -14026,7 +14026,7 @@ def add_scattercarpet( Sets hover text elements associated with each (a,b) point. If a single string, the same string appears over all the data points. If an array of strings, the items - are mapped in order to the the data points in (a,b). To + are mapped in order of the data points in (a,b). To be seen, trace `hoverinfo` must contain a "text" flag. hovertextsrc Sets the source reference on Chart Studio Cloud for @@ -14119,7 +14119,7 @@ def add_scattercarpet( Sets text elements associated with each (a,b) point. If a single string, the same string appears over all the data points. If an array of strings, the items are - mapped in order to the the data points in (a,b). If + mapped in order of the data points in (a,b). If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels. @@ -17391,7 +17391,7 @@ def add_scatterternary( Sets hover text elements associated with each (a,b,c) point. If a single string, the same string appears over all the data points. If an array of strings, the items - are mapped in order to the the data points in (a,b,c). + are mapped in order of the data points in (a,b,c). To be seen, trace `hoverinfo` must contain a "text" flag. hovertextsrc @@ -17497,7 +17497,7 @@ def add_scatterternary( Sets text elements associated with each (a,b,c) point. If a single string, the same string appears over all the data points. If an array of strings, the items are - mapped in order to the the data points in (a,b,c). If + mapped in order of the data points in (a,b,c). If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels. diff --git a/plotly/graph_objs/_figurewidget.py b/plotly/graph_objs/_figurewidget.py index 9539aa5795..714acad51b 100644 --- a/plotly/graph_objs/_figurewidget.py +++ b/plotly/graph_objs/_figurewidget.py @@ -14028,7 +14028,7 @@ def add_scattercarpet( Sets hover text elements associated with each (a,b) point. If a single string, the same string appears over all the data points. If an array of strings, the items - are mapped in order to the the data points in (a,b). To + are mapped in order of the data points in (a,b). To be seen, trace `hoverinfo` must contain a "text" flag. hovertextsrc Sets the source reference on Chart Studio Cloud for @@ -14121,7 +14121,7 @@ def add_scattercarpet( Sets text elements associated with each (a,b) point. If a single string, the same string appears over all the data points. If an array of strings, the items are - mapped in order to the the data points in (a,b). If + mapped in order of the data points data points in (a,b). If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels. @@ -17393,7 +17393,7 @@ def add_scatterternary( Sets hover text elements associated with each (a,b,c) point. If a single string, the same string appears over all the data points. If an array of strings, the items - are mapped in order to the the data points in (a,b,c). + are mapped in order of the data points data points in (a,b,c). To be seen, trace `hoverinfo` must contain a "text" flag. hovertextsrc @@ -17499,7 +17499,7 @@ def add_scatterternary( Sets text elements associated with each (a,b,c) point. If a single string, the same string appears over all the data points. If an array of strings, the items are - mapped in order to the the data points in (a,b,c). If + mapped in order of the data points in (a,b,c). If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels. diff --git a/plotly/graph_objs/_scattercarpet.py b/plotly/graph_objs/_scattercarpet.py index a06c597f30..f0bd69478b 100644 --- a/plotly/graph_objs/_scattercarpet.py +++ b/plotly/graph_objs/_scattercarpet.py @@ -417,7 +417,7 @@ def hovertext(self): Sets hover text elements associated with each (a,b) point. If a single string, the same string appears over all the data points. If an array of strings, the items are mapped in order - to the the data points in (a,b). To be seen, trace `hoverinfo` + of the data points in (a,b). To be seen, trace `hoverinfo` must contain a "text" flag. The 'hovertext' property is a string and must be specified as: @@ -830,7 +830,7 @@ def text(self): Sets text elements associated with each (a,b) point. If a single string, the same string appears over all the data points. If an array of strings, the items are mapped in order - to the the data points in (a,b). If trace `hoverinfo` contains + of the data points in (a,b). If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels. @@ -1239,7 +1239,7 @@ def _prop_descriptions(self): Sets hover text elements associated with each (a,b) point. If a single string, the same string appears over all the data points. If an array of strings, the items - are mapped in order to the the data points in (a,b). To + are mapped in order of the data points in (a,b). To be seen, trace `hoverinfo` must contain a "text" flag. hovertextsrc Sets the source reference on Chart Studio Cloud for @@ -1332,7 +1332,7 @@ def _prop_descriptions(self): Sets text elements associated with each (a,b) point. If a single string, the same string appears over all the data points. If an array of strings, the items are - mapped in order to the the data points in (a,b). If + mapped in order of the data points in (a,b). If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels. @@ -1573,7 +1573,7 @@ def __init__( Sets hover text elements associated with each (a,b) point. If a single string, the same string appears over all the data points. If an array of strings, the items - are mapped in order to the the data points in (a,b). To + are mapped in order of the data points in (a,b). To be seen, trace `hoverinfo` must contain a "text" flag. hovertextsrc Sets the source reference on Chart Studio Cloud for @@ -1666,7 +1666,7 @@ def __init__( Sets text elements associated with each (a,b) point. If a single string, the same string appears over all the data points. If an array of strings, the items are - mapped in order to the the data points in (a,b). If + mapped in order of the data points in (a,b). If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels. diff --git a/plotly/graph_objs/_scatterternary.py b/plotly/graph_objs/_scatterternary.py index b0b3ca3fcf..4e73b6613d 100644 --- a/plotly/graph_objs/_scatterternary.py +++ b/plotly/graph_objs/_scatterternary.py @@ -463,7 +463,7 @@ def hovertext(self): Sets hover text elements associated with each (a,b,c) point. If a single string, the same string appears over all the data points. If an array of strings, the items are mapped in order - to the the data points in (a,b,c). To be seen, trace + of the data points in (a,b,c). To be seen, trace `hoverinfo` must contain a "text" flag. The 'hovertext' property is a string and must be specified as: @@ -921,7 +921,7 @@ def text(self): Sets text elements associated with each (a,b,c) point. If a single string, the same string appears over all the data points. If an array of strings, the items are mapped in order - to the the data points in (a,b,c). If trace `hoverinfo` + of the data points in (a,b,c). If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels. @@ -1283,7 +1283,7 @@ def _prop_descriptions(self): Sets hover text elements associated with each (a,b,c) point. If a single string, the same string appears over all the data points. If an array of strings, the items - are mapped in order to the the data points in (a,b,c). + are mapped in order of the data points in (a,b,c). To be seen, trace `hoverinfo` must contain a "text" flag. hovertextsrc @@ -1389,7 +1389,7 @@ def _prop_descriptions(self): Sets text elements associated with each (a,b,c) point. If a single string, the same string appears over all the data points. If an array of strings, the items are - mapped in order to the the data points in (a,b,c). If + mapped in order of the data points in (a,b,c). If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels. @@ -1637,7 +1637,7 @@ def __init__( Sets hover text elements associated with each (a,b,c) point. If a single string, the same string appears over all the data points. If an array of strings, the items - are mapped in order to the the data points in (a,b,c). + are mapped in order of the data points in (a,b,c). To be seen, trace `hoverinfo` must contain a "text" flag. hovertextsrc @@ -1743,7 +1743,7 @@ def __init__( Sets text elements associated with each (a,b,c) point. If a single string, the same string appears over all the data points. If an array of strings, the items are - mapped in order to the the data points in (a,b,c). If + mapped in order of the data points in (a,b,c). If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels. diff --git a/plotly/graph_objs/icicle/_pathbar.py b/plotly/graph_objs/icicle/_pathbar.py index 828c24f909..bd914b3409 100644 --- a/plotly/graph_objs/icicle/_pathbar.py +++ b/plotly/graph_objs/icicle/_pathbar.py @@ -33,7 +33,7 @@ def edgeshape(self, val): @property def side(self): """ - Determines on which side of the the treemap the `pathbar` + Determines on which side of the treemap the `pathbar` should be presented. The 'side' property is an enumeration that may be specified as: @@ -117,7 +117,7 @@ def _prop_descriptions(self): Determines which shape is used for edges between `barpath` labels. side - Determines on which side of the the treemap the + Determines on which side of the treemap the `pathbar` should be presented. textfont Sets the font used inside `pathbar`. @@ -153,7 +153,7 @@ def __init__( Determines which shape is used for edges between `barpath` labels. side - Determines on which side of the the treemap the + Determines on which side of the treemap the `pathbar` should be presented. textfont Sets the font used inside `pathbar`. diff --git a/plotly/graph_objs/treemap/_pathbar.py b/plotly/graph_objs/treemap/_pathbar.py index 295cc48086..ffff45dd3e 100644 --- a/plotly/graph_objs/treemap/_pathbar.py +++ b/plotly/graph_objs/treemap/_pathbar.py @@ -33,7 +33,7 @@ def edgeshape(self, val): @property def side(self): """ - Determines on which side of the the treemap the `pathbar` + Determines on which side of the treemap the `pathbar` should be presented. The 'side' property is an enumeration that may be specified as: @@ -117,7 +117,7 @@ def _prop_descriptions(self): Determines which shape is used for edges between `barpath` labels. side - Determines on which side of the the treemap the + Determines on which side of the treemap the `pathbar` should be presented. textfont Sets the font used inside `pathbar`. @@ -153,7 +153,7 @@ def __init__( Determines which shape is used for edges between `barpath` labels. side - Determines on which side of the the treemap the + Determines on which side of the treemap the `pathbar` should be presented. textfont Sets the font used inside `pathbar`.