From e54e65c332b2e6fe77db79a30154b8cc2db639de Mon Sep 17 00:00:00 2001 From: Emily Kellison-Linn <4672118+emilykl@users.noreply.github.com> Date: Fri, 4 Oct 2024 12:27:12 -0400 Subject: [PATCH 01/12] remove support for 'title' as string, and remove 'titlefont', 'titleside', 'titleoffset', and 'titleposition' --- src/components/titles/index.js | 4 +- src/plot_api/helpers.js | 66 ---------------------- src/plot_api/plot_api.js | 46 --------------- src/plots/cartesian/layout_attributes.js | 28 +-------- src/plots/cartesian/tick_label_defaults.js | 2 +- src/plots/gl3d/layout/axis_attributes.js | 2 - src/plots/layout_attributes.js | 28 +-------- src/plots/polar/layout_attributes.js | 2 - src/plots/ternary/layout_attributes.js | 2 - src/traces/carpet/axis_attributes.js | 34 +---------- src/traces/pie/attributes.js | 34 +---------- 11 files changed, 10 insertions(+), 238 deletions(-) diff --git a/src/components/titles/index.js b/src/components/titles/index.js index 29b562407ef..7cbe5c33c28 100644 --- a/src/components/titles/index.js +++ b/src/components/titles/index.js @@ -22,8 +22,8 @@ var SUBTITLE_PADDING_EM = 1.6; * @param {DOM element} gd - the graphDiv * @param {string} titleClass - the css class of this title * @param {object} options - how and what to draw - * propContainer - the layout object containing `title` and `titlefont` - * attributes that apply to this title + * propContainer - the layout object containing the `title` attribute that + * applies to this title * propName - the full name of the title property (for Plotly.relayout) * [traceIndex] - include only if this property applies to one trace * (such as a colorbar title) - then editing pipes to Plotly.restyle diff --git a/src/plot_api/helpers.js b/src/plot_api/helpers.js index f30b9539fd3..3ef0f2efd1b 100644 --- a/src/plot_api/helpers.js +++ b/src/plot_api/helpers.js @@ -90,19 +90,6 @@ exports.cleanLayout = function(layout) { delete ax.autotick; } - cleanTitle(ax); - } else if(polarAttrRegex && polarAttrRegex.test(key)) { - // modifications for polar - - var polar = layout[key]; - cleanTitle(polar.radialaxis); - } else if(ternaryAttrRegex && ternaryAttrRegex.test(key)) { - // modifications for ternary - - var ternary = layout[key]; - cleanTitle(ternary.aaxis); - cleanTitle(ternary.baxis); - cleanTitle(ternary.caxis); } else if(sceneAttrRegex && sceneAttrRegex.test(key)) { // modifications for 3D scenes @@ -130,11 +117,6 @@ exports.cleanLayout = function(layout) { delete scene.cameraposition; } - - // clean axis titles - cleanTitle(scene.xaxis); - cleanTitle(scene.yaxis); - cleanTitle(scene.zaxis); } } @@ -199,9 +181,6 @@ exports.cleanLayout = function(layout) { } } - // clean plot title - cleanTitle(layout); - /* * Moved from rotate -> orbit for dragmode */ @@ -227,44 +206,6 @@ function cleanAxRef(container, attr) { } } -/** - * Cleans up old title attribute structure (flat) in favor of the new one (nested). - * - * @param {Object} titleContainer - an object potentially including deprecated title attributes - */ -function cleanTitle(titleContainer) { - if(titleContainer) { - // title -> title.text - // (although title used to be a string attribute, - // numbers are accepted as well) - if(typeof titleContainer.title === 'string' || typeof titleContainer.title === 'number') { - titleContainer.title = { - text: titleContainer.title - }; - } - - rewireAttr('titlefont', 'font'); - rewireAttr('titleposition', 'position'); - rewireAttr('titleside', 'side'); - rewireAttr('titleoffset', 'offset'); - } - - function rewireAttr(oldAttrName, newAttrName) { - var oldAttrSet = titleContainer[oldAttrName]; - var newAttrSet = titleContainer.title && titleContainer.title[newAttrName]; - - if(oldAttrSet && !newAttrSet) { - // Ensure title object exists - if(!titleContainer.title) { - titleContainer.title = {}; - } - - titleContainer.title[newAttrName] = titleContainer[oldAttrName]; - delete titleContainer[oldAttrName]; - } - } -} - /* * cleanData: Make a few changes to the data for backward compatibility * before it gets used for anything. Modifies the data traces users provide. @@ -467,13 +408,6 @@ exports.cleanData = function(data) { delete trace.autobiny; delete trace.ybins; } - - cleanTitle(trace); - if(trace.colorbar) cleanTitle(trace.colorbar); - if(trace.marker && trace.marker.colorbar) cleanTitle(trace.marker.colorbar); - if(trace.line && trace.line.colorbar) cleanTitle(trace.line.colorbar); - if(trace.aaxis) cleanTitle(trace.aaxis); - if(trace.baxis) cleanTitle(trace.baxis); } }; diff --git a/src/plot_api/plot_api.js b/src/plot_api/plot_api.js index e82bd29ebc1..0b21e6e227d 100644 --- a/src/plot_api/plot_api.js +++ b/src/plot_api/plot_api.js @@ -1397,8 +1397,6 @@ function _restyle(gd, aobj, traces) { var eventData = Lib.extendDeepAll({}, aobj); var i; - cleanDeprecatedAttributeKeys(aobj); - // initialize flags var flags = editTypes.traceFlags(); @@ -1700,49 +1698,6 @@ function _restyle(gd, aobj, traces) { }; } -/** - * Converts deprecated attribute keys to - * the current API to ensure backwards compatibility. - * - * This is needed for the update mechanism to determine which - * subroutines to run based on the actual attribute - * definitions (that don't include the deprecated ones). - * - * E.g. Maps {'xaxis.title': 'A chart'} to {'xaxis.title.text': 'A chart'} - * and {titlefont: {...}} to {'title.font': {...}}. - * - * @param aobj - */ -function cleanDeprecatedAttributeKeys(aobj) { - var oldAxisTitleRegex = Lib.counterRegex('axis', '\.title', false, false); - var colorbarRegex = /colorbar\.title$/; - var keys = Object.keys(aobj); - var i, key, value; - - for(i = 0; i < keys.length; i++) { - key = keys[i]; - value = aobj[key]; - - if((key === 'title' || oldAxisTitleRegex.test(key) || colorbarRegex.test(key)) && - (typeof value === 'string' || typeof value === 'number')) { - replace(key, key.replace('title', 'title.text')); - } else if(key.indexOf('titlefont') > -1 && key.indexOf('grouptitlefont') === -1) { - replace(key, key.replace('titlefont', 'title.font')); - } else if(key.indexOf('titleposition') > -1) { - replace(key, key.replace('titleposition', 'title.position')); - } else if(key.indexOf('titleside') > -1) { - replace(key, key.replace('titleside', 'title.side')); - } else if(key.indexOf('titleoffset') > -1) { - replace(key, key.replace('titleoffset', 'title.offset')); - } - } - - function replace(oldAttrStr, newAttrStr) { - aobj[newAttrStr] = aobj[oldAttrStr]; - delete aobj[oldAttrStr]; - } -} - /** * relayout: update layout attributes of an existing plot * @@ -1926,7 +1881,6 @@ function _relayout(gd, aobj) { var arrayStr, i, j; - cleanDeprecatedAttributeKeys(aobj); keys = Object.keys(aobj); // look for 'allaxes', split out into all axes diff --git a/src/plots/cartesian/layout_attributes.js b/src/plots/cartesian/layout_attributes.js index 4d0c64c34a2..e52643debd4 100644 --- a/src/plots/cartesian/layout_attributes.js +++ b/src/plots/cartesian/layout_attributes.js @@ -207,20 +207,11 @@ module.exports = { text: { valType: 'string', editType: 'ticks', - description: [ - 'Sets the title of this axis.', - 'Note that before the existence of `title.text`, the title\'s', - 'contents used to be defined as the `title` attribute itself.', - 'This behavior has been deprecated.' - ].join(' ') + description: 'Sets the title of this axis.' }, font: fontAttrs({ editType: 'ticks', - description: [ - 'Sets this axis\' title font.', - 'Note that the title\'s font used to be customized', - 'by the now deprecated `titlefont` attribute.' - ].join(' ') + description: 'Sets this axis\' title font.' }), standoff: { valType: 'number', @@ -1250,20 +1241,5 @@ module.exports = { 'Set `tickmode` to *linear* for `autotick` *false*.' ].join(' ') }, - title: { - valType: 'string', - editType: 'ticks', - description: [ - 'Value of `title` is no longer a simple *string* but a set of sub-attributes.', - 'To set the axis\' title, please use `title.text` now.' - ].join(' ') - }, - titlefont: fontAttrs({ - editType: 'ticks', - description: [ - 'Former `titlefont` is now the sub-attribute `font` of `title`.', - 'To customize title font properties, please use `title.font` now.' - ].join(' ') - }) } }; diff --git a/src/plots/cartesian/tick_label_defaults.js b/src/plots/cartesian/tick_label_defaults.js index 7391dd12323..e1d2bc93874 100644 --- a/src/plots/cartesian/tick_label_defaults.js +++ b/src/plots/cartesian/tick_label_defaults.js @@ -27,7 +27,7 @@ module.exports = function handleTickLabelDefaults(containerIn, containerOut, coe var position = containerOut.ticklabelposition || ''; var dfltFontColor = position.indexOf('inside') !== -1 ? contrast(options.bgColor) : - // as with titlefont.color, inherit axis.color only if one was + // as with title.font.color, inherit axis.color only if one was // explicitly provided (contColor && contColor !== layoutAttributes.color.dflt) ? contColor : font.color; diff --git a/src/plots/gl3d/layout/axis_attributes.js b/src/plots/gl3d/layout/axis_attributes.js index 06542c01801..3ec341d7fac 100644 --- a/src/plots/gl3d/layout/axis_attributes.js +++ b/src/plots/gl3d/layout/axis_attributes.js @@ -122,7 +122,5 @@ module.exports = overrideAll({ zerolinecolor: axesAttrs.zerolinecolor, zerolinewidth: axesAttrs.zerolinewidth, _deprecated: { - title: axesAttrs._deprecated.title, - titlefont: axesAttrs._deprecated.titlefont } }, 'plot', 'from-root'); diff --git a/src/plots/layout_attributes.js b/src/plots/layout_attributes.js index 0a6fc5543c3..f7c85200239 100644 --- a/src/plots/layout_attributes.js +++ b/src/plots/layout_attributes.js @@ -26,20 +26,11 @@ module.exports = { text: { valType: 'string', editType: 'layoutstyle', - description: [ - 'Sets the plot\'s title.', - 'Note that before the existence of `title.text`, the title\'s', - 'contents used to be defined as the `title` attribute itself.', - 'This behavior has been deprecated.' - ].join(' ') + description: 'Sets the plot\'s title.' }, font: fontAttrs({ editType: 'layoutstyle', - description: [ - 'Sets the title font.', - 'Note that the title\'s font used to be customized', - 'by the now deprecated `titlefont` attribute.' - ].join(' ') + description: 'Sets the title font.' }), subtitle: { text: { @@ -461,20 +452,5 @@ module.exports = { editType: 'none' }), _deprecated: { - title: { - valType: 'string', - editType: 'layoutstyle', - description: [ - 'Value of `title` is no longer a simple *string* but a set of sub-attributes.', - 'To set the contents of the title, please use `title.text` now.' - ].join(' ') - }, - titlefont: fontAttrs({ - editType: 'layoutstyle', - description: [ - 'Former `titlefont` is now the sub-attribute `font` of `title`.', - 'To customize title font properties, please use `title.font` now.' - ].join(' ') - }) } }; diff --git a/src/plots/polar/layout_attributes.js b/src/plots/polar/layout_attributes.js index cef166556dd..d82f63b5ded 100644 --- a/src/plots/polar/layout_attributes.js +++ b/src/plots/polar/layout_attributes.js @@ -148,8 +148,6 @@ var radialAxisAttrs = { editType: 'calc', _deprecated: { - title: axesAttrs._deprecated.title, - titlefont: axesAttrs._deprecated.titlefont } }; diff --git a/src/plots/ternary/layout_attributes.js b/src/plots/ternary/layout_attributes.js index aa75bb8c84e..8cadef32ccf 100644 --- a/src/plots/ternary/layout_attributes.js +++ b/src/plots/ternary/layout_attributes.js @@ -63,8 +63,6 @@ var ternaryAxesAttrs = { ].join(' ') }, _deprecated: { - title: axesAttrs._deprecated.title, - titlefont: axesAttrs._deprecated.titlefont } }; diff --git a/src/traces/carpet/axis_attributes.js b/src/traces/carpet/axis_attributes.js index 733ba93f53c..e79b37fc599 100644 --- a/src/traces/carpet/axis_attributes.js +++ b/src/traces/carpet/axis_attributes.js @@ -32,20 +32,11 @@ module.exports = { valType: 'string', dflt: '', editType: 'calc', - description: [ - 'Sets the title of this axis.', - 'Note that before the existence of `title.text`, the title\'s', - 'contents used to be defined as the `title` attribute itself.', - 'This behavior has been deprecated.' - ].join(' ') + description: 'Sets the title of this axis.' }, font: fontAttrs({ editType: 'calc', - description: [ - 'Sets this axis\' title font.', - 'Note that the title\'s font used to be set', - 'by the now deprecated `titlefont` attribute.' - ].join(' ') + description: 'Sets this axis\' title font.', }), // TODO how is this different than `title.standoff` offset: { @@ -55,8 +46,6 @@ module.exports = { description: [ 'An additional amount by which to offset the title from the tick', 'labels, given in pixels.', - 'Note that this used to be set', - 'by the now deprecated `titleoffset` attribute.' ].join(' '), }, editType: 'calc', @@ -464,25 +453,6 @@ module.exports = { }, _deprecated: { - title: { - valType: 'string', - editType: 'calc', - description: [ - 'Deprecated in favor of `title.text`.', - 'Note that value of `title` is no longer a simple', - '*string* but a set of sub-attributes.' - ].join(' ') - }, - titlefont: fontAttrs({ - editType: 'calc', - description: 'Deprecated in favor of `title.font`.' - }), - titleoffset: { - valType: 'number', - dflt: 10, - editType: 'calc', - description: 'Deprecated in favor of `title.offset`.' - } }, editType: 'calc' diff --git a/src/traces/pie/attributes.js b/src/traces/pie/attributes.js index b30d6ad519c..af9dcc5b1c6 100644 --- a/src/traces/pie/attributes.js +++ b/src/traces/pie/attributes.js @@ -205,17 +205,10 @@ module.exports = { description: [ 'Sets the title of the chart.', 'If it is empty, no title is displayed.', - 'Note that before the existence of `title.text`, the title\'s', - 'contents used to be defined as the `title` attribute itself.', - 'This behavior has been deprecated.' ].join(' ') }, font: extendFlat({}, textFontAttrs, { - description: [ - 'Sets the font used for `title`.', - 'Note that the title\'s font used to be set', - 'by the now deprecated `titlefont` attribute.' - ].join(' ') + description: 'Sets the font used for `title`.' }), position: { valType: 'enumerated', @@ -227,8 +220,6 @@ module.exports = { editType: 'plot', description: [ 'Specifies the location of the `title`.', - 'Note that the title\'s position used to be set', - 'by the now deprecated `titleposition` attribute.' ].join(' ') }, @@ -303,28 +294,5 @@ module.exports = { }, _deprecated: { - title: { - valType: 'string', - dflt: '', - editType: 'calc', - description: [ - 'Deprecated in favor of `title.text`.', - 'Note that value of `title` is no longer a simple', - '*string* but a set of sub-attributes.' - ].join(' ') - }, - titlefont: extendFlat({}, textFontAttrs, { - description: 'Deprecated in favor of `title.font`.' - }), - titleposition: { - valType: 'enumerated', - values: [ - 'top left', 'top center', 'top right', - 'middle center', - 'bottom left', 'bottom center', 'bottom right' - ], - editType: 'calc', - description: 'Deprecated in favor of `title.position`.' - } } }; From 5cfe40062a369768de82f727c5b9c9fba73a09db Mon Sep 17 00:00:00 2001 From: Emily Kellison-Linn <4672118+emilykl@users.noreply.github.com> Date: Fri, 4 Oct 2024 14:47:22 -0400 Subject: [PATCH 02/12] update plot-schema --- test/plot-schema.json | 5782 ++--------------------------------------- 1 file changed, 163 insertions(+), 5619 deletions(-) diff --git a/test/plot-schema.json b/test/plot-schema.json index b2f43d0245d..1deb386fbaa 100644 --- a/test/plot-schema.json +++ b/test/plot-schema.json @@ -596,101 +596,7 @@ }, "layout": { "layoutAttributes": { - "_deprecated": { - "title": { - "description": "Value of `title` is no longer a simple *string* but a set of sub-attributes. To set the contents of the title, please use `title.text` now.", - "editType": "layoutstyle", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "layoutstyle", - "valType": "color" - }, - "description": "Former `titlefont` is now the sub-attribute `font` of `title`. To customize title font properties, please use `title.font` now.", - "editType": "layoutstyle", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "layoutstyle", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "layoutstyle", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "layoutstyle", - "valType": "string" - }, - "size": { - "editType": "layoutstyle", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "layoutstyle", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "layoutstyle", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "layoutstyle", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "layoutstyle", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - } - }, + "_deprecated": {}, "activeselection": { "editType": "none", "fillcolor": { @@ -1326,112 +1232,7 @@ "valType": "number" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -1871,7 +1672,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -1957,7 +1758,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -5840,101 +5641,7 @@ "valType": "number" }, "radialaxis": { - "_deprecated": { - "title": { - "description": "Value of `title` is no longer a simple *string* but a set of sub-attributes. To set the axis' title, please use `title.text` now.", - "editType": "ticks", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "ticks", - "valType": "color" - }, - "description": "Former `titlefont` is now the sub-attribute `font` of `title`. To customize title font properties, please use `title.font` now.", - "editType": "ticks", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "ticks", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "ticks", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "ticks", - "valType": "string" - }, - "size": { - "editType": "ticks", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "ticks", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "ticks", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "ticks", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "ticks", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - } - }, + "_deprecated": {}, "angle": { "description": "Sets the angle (in degrees) from which the radial axis is drawn. Note that by default, radial axis line on the theta=0 line corresponds to a line pointing right (like what mathematicians prefer). Defaults to the first `polar.sector` angle.", "editType": "plot", @@ -6550,7 +6257,7 @@ "editType": "ticks", "valType": "color" }, - "description": "Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute.", + "description": "Sets this axis' title font.", "editType": "plot", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -6636,7 +6343,7 @@ }, "role": "object", "text": { - "description": "Sets the title of this axis. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of this axis.", "dflt": "", "editType": "plot", "valType": "string" @@ -7372,101 +7079,7 @@ "valType": "any" }, "xaxis": { - "_deprecated": { - "title": { - "description": "Value of `title` is no longer a simple *string* but a set of sub-attributes. To set the axis' title, please use `title.text` now.", - "editType": "plot", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "plot", - "valType": "color" - }, - "description": "Former `titlefont` is now the sub-attribute `font` of `title`. To customize title font properties, please use `title.font` now.", - "editType": "plot", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "plot", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "plot", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "plot", - "valType": "string" - }, - "size": { - "editType": "plot", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "plot", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "plot", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "plot", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "plot", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - } - }, + "_deprecated": {}, "autorange": { "description": "Determines whether or not the range of this axis is computed in relation to the input data. See `rangemode` for more info. If `range` is provided and it has a value for both the lower and upper bound, `autorange` is set to *false*. Using *min* applies autorange only to set the minimum. Using *max* applies autorange only to set the maximum. Using *min reversed* applies autorange only to set the minimum on a reversed axis. Using *max reversed* applies autorange only to set the maximum on a reversed axis. Using *reversed* applies autorange on both ends and reverses the axis direction.", "dflt": true, @@ -8077,7 +7690,7 @@ "editType": "plot", "valType": "color" }, - "description": "Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute.", + "description": "Sets this axis' title font.", "editType": "plot", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -8163,7 +7776,7 @@ }, "role": "object", "text": { - "description": "Sets the title of this axis. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of this axis.", "editType": "plot", "valType": "string" } @@ -8206,101 +7819,7 @@ } }, "yaxis": { - "_deprecated": { - "title": { - "description": "Value of `title` is no longer a simple *string* but a set of sub-attributes. To set the axis' title, please use `title.text` now.", - "editType": "plot", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "plot", - "valType": "color" - }, - "description": "Former `titlefont` is now the sub-attribute `font` of `title`. To customize title font properties, please use `title.font` now.", - "editType": "plot", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "plot", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "plot", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "plot", - "valType": "string" - }, - "size": { - "editType": "plot", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "plot", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "plot", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "plot", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "plot", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - } - }, + "_deprecated": {}, "autorange": { "description": "Determines whether or not the range of this axis is computed in relation to the input data. See `rangemode` for more info. If `range` is provided and it has a value for both the lower and upper bound, `autorange` is set to *false*. Using *min* applies autorange only to set the minimum. Using *max* applies autorange only to set the maximum. Using *min reversed* applies autorange only to set the minimum on a reversed axis. Using *max reversed* applies autorange only to set the maximum on a reversed axis. Using *reversed* applies autorange on both ends and reverses the axis direction.", "dflt": true, @@ -8911,7 +8430,7 @@ "editType": "plot", "valType": "color" }, - "description": "Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute.", + "description": "Sets this axis' title font.", "editType": "plot", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -8997,7 +8516,7 @@ }, "role": "object", "text": { - "description": "Sets the title of this axis. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of this axis.", "editType": "plot", "valType": "string" } @@ -9040,101 +8559,7 @@ } }, "zaxis": { - "_deprecated": { - "title": { - "description": "Value of `title` is no longer a simple *string* but a set of sub-attributes. To set the axis' title, please use `title.text` now.", - "editType": "plot", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "plot", - "valType": "color" - }, - "description": "Former `titlefont` is now the sub-attribute `font` of `title`. To customize title font properties, please use `title.font` now.", - "editType": "plot", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "plot", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "plot", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "plot", - "valType": "string" - }, - "size": { - "editType": "plot", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "plot", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "plot", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "plot", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "plot", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - } - }, + "_deprecated": {}, "autorange": { "description": "Determines whether or not the range of this axis is computed in relation to the input data. See `rangemode` for more info. If `range` is provided and it has a value for both the lower and upper bound, `autorange` is set to *false*. Using *min* applies autorange only to set the minimum. Using *max* applies autorange only to set the maximum. Using *min reversed* applies autorange only to set the minimum on a reversed axis. Using *max reversed* applies autorange only to set the maximum on a reversed axis. Using *reversed* applies autorange on both ends and reverses the axis direction.", "dflt": true, @@ -9745,7 +9170,7 @@ "editType": "plot", "valType": "color" }, - "description": "Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute.", + "description": "Sets this axis' title font.", "editType": "plot", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -9831,7 +9256,7 @@ }, "role": "object", "text": { - "description": "Sets the title of this axis. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of this axis.", "editType": "plot", "valType": "string" } @@ -11680,101 +11105,7 @@ "ternary": { "_isSubplotObj": true, "aaxis": { - "_deprecated": { - "title": { - "description": "Value of `title` is no longer a simple *string* but a set of sub-attributes. To set the axis' title, please use `title.text` now.", - "editType": "plot", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "plot", - "valType": "color" - }, - "description": "Former `titlefont` is now the sub-attribute `font` of `title`. To customize title font properties, please use `title.font` now.", - "editType": "plot", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "plot", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "plot", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "plot", - "valType": "string" - }, - "size": { - "editType": "plot", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "plot", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "plot", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "plot", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "plot", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - } - }, + "_deprecated": {}, "color": { "description": "Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this.", "dflt": "#444", @@ -12190,7 +11521,7 @@ "editType": "plot", "valType": "color" }, - "description": "Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute.", + "description": "Sets this axis' title font.", "editType": "plot", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -12276,7 +11607,7 @@ }, "role": "object", "text": { - "description": "Sets the title of this axis. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of this axis.", "editType": "plot", "valType": "string" } @@ -12288,101 +11619,7 @@ } }, "baxis": { - "_deprecated": { - "title": { - "description": "Value of `title` is no longer a simple *string* but a set of sub-attributes. To set the axis' title, please use `title.text` now.", - "editType": "plot", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "plot", - "valType": "color" - }, - "description": "Former `titlefont` is now the sub-attribute `font` of `title`. To customize title font properties, please use `title.font` now.", - "editType": "plot", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "plot", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "plot", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "plot", - "valType": "string" - }, - "size": { - "editType": "plot", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "plot", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "plot", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "plot", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "plot", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - } - }, + "_deprecated": {}, "color": { "description": "Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this.", "dflt": "#444", @@ -12798,7 +12035,7 @@ "editType": "plot", "valType": "color" }, - "description": "Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute.", + "description": "Sets this axis' title font.", "editType": "plot", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -12884,7 +12121,7 @@ }, "role": "object", "text": { - "description": "Sets the title of this axis. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of this axis.", "editType": "plot", "valType": "string" } @@ -12902,101 +12139,7 @@ "valType": "color" }, "caxis": { - "_deprecated": { - "title": { - "description": "Value of `title` is no longer a simple *string* but a set of sub-attributes. To set the axis' title, please use `title.text` now.", - "editType": "plot", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "plot", - "valType": "color" - }, - "description": "Former `titlefont` is now the sub-attribute `font` of `title`. To customize title font properties, please use `title.font` now.", - "editType": "plot", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "plot", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "plot", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "plot", - "valType": "string" - }, - "size": { - "editType": "plot", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "plot", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "plot", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "plot", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "plot", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - } - }, + "_deprecated": {}, "color": { "description": "Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this.", "dflt": "#444", @@ -13412,7 +12555,7 @@ "editType": "plot", "valType": "color" }, - "description": "Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute.", + "description": "Sets this axis' title font.", "editType": "plot", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -13498,7 +12641,7 @@ }, "role": "object", "text": { - "description": "Sets the title of this axis. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of this axis.", "editType": "plot", "valType": "string" } @@ -13601,7 +12744,7 @@ "editType": "layoutstyle", "valType": "color" }, - "description": "Sets the title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute.", + "description": "Sets the title font.", "editType": "layoutstyle", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -13814,7 +12957,7 @@ } }, "text": { - "description": "Sets the plot's title. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the plot's title.", "editType": "layoutstyle", "valType": "string" }, @@ -14312,99 +13455,6 @@ "description": "Obsolete. Set `tickmode` to *auto* for old `autotick` *true* behavior. Set `tickmode` to *linear* for `autotick` *false*.", "editType": "ticks", "valType": "boolean" - }, - "title": { - "description": "Value of `title` is no longer a simple *string* but a set of sub-attributes. To set the axis' title, please use `title.text` now.", - "editType": "ticks", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "ticks", - "valType": "color" - }, - "description": "Former `titlefont` is now the sub-attribute `font` of `title`. To customize title font properties, please use `title.font` now.", - "editType": "ticks", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "ticks", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "ticks", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "ticks", - "valType": "string" - }, - "size": { - "editType": "ticks", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "ticks", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "ticks", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "ticks", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "ticks", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } } }, "_isSubplotObj": true, @@ -15811,7 +14861,7 @@ "editType": "ticks", "valType": "color" }, - "description": "Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute.", + "description": "Sets this axis' title font.", "editType": "ticks", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -15903,7 +14953,7 @@ "valType": "number" }, "text": { - "description": "Sets the title of this axis. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of this axis.", "editType": "ticks", "valType": "string" } @@ -15957,99 +15007,6 @@ "description": "Obsolete. Set `tickmode` to *auto* for old `autotick` *true* behavior. Set `tickmode` to *linear* for `autotick` *false*.", "editType": "ticks", "valType": "boolean" - }, - "title": { - "description": "Value of `title` is no longer a simple *string* but a set of sub-attributes. To set the axis' title, please use `title.text` now.", - "editType": "ticks", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "ticks", - "valType": "color" - }, - "description": "Former `titlefont` is now the sub-attribute `font` of `title`. To customize title font properties, please use `title.font` now.", - "editType": "ticks", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "ticks", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "ticks", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "ticks", - "valType": "string" - }, - "size": { - "editType": "ticks", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "ticks", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "ticks", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "ticks", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "ticks", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } } }, "_isSubplotObj": true, @@ -17145,7 +16102,7 @@ "editType": "ticks", "valType": "color" }, - "description": "Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute.", + "description": "Sets this axis' title font.", "editType": "ticks", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -17237,7 +16194,7 @@ "valType": "number" }, "text": { - "description": "Sets the title of this axis. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of this axis.", "editType": "ticks", "valType": "string" } @@ -18147,112 +17104,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -18692,7 +17544,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -18778,7 +17630,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -20296,112 +19148,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -20841,7 +19588,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -20927,7 +19674,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -23775,107 +22522,7 @@ "valType": "number" }, "aaxis": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of `title.text`. Note that value of `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "calc", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "calc", - "valType": "color" - }, - "description": "Deprecated in favor of `title.font`.", - "editType": "calc", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "calc", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "calc", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "calc", - "valType": "string" - }, - "size": { - "editType": "calc", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "calc", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleoffset": { - "description": "Deprecated in favor of `title.offset`.", - "dflt": 10, - "editType": "calc", - "valType": "number" - } - }, + "_deprecated": {}, "arraydtick": { "description": "The stride between grid lines along the axis", "dflt": 1, @@ -24419,7 +23066,7 @@ "editType": "calc", "valType": "color" }, - "description": "Sets this axis' title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this axis' title font.", "editType": "calc", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -24504,14 +23151,14 @@ } }, "offset": { - "description": "An additional amount by which to offset the title from the tick labels, given in pixels. Note that this used to be set by the now deprecated `titleoffset` attribute.", + "description": "An additional amount by which to offset the title from the tick labels, given in pixels.", "dflt": 10, "editType": "calc", "valType": "number" }, "role": "object", "text": { - "description": "Sets the title of this axis. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of this axis.", "dflt": "", "editType": "calc", "valType": "string" @@ -24547,107 +23194,7 @@ "valType": "number" }, "baxis": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of `title.text`. Note that value of `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "calc", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "calc", - "valType": "color" - }, - "description": "Deprecated in favor of `title.font`.", - "editType": "calc", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "calc", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "calc", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "calc", - "valType": "string" - }, - "size": { - "editType": "calc", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "calc", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleoffset": { - "description": "Deprecated in favor of `title.offset`.", - "dflt": 10, - "editType": "calc", - "valType": "number" - } - }, + "_deprecated": {}, "arraydtick": { "description": "The stride between grid lines along the axis", "dflt": 1, @@ -25191,7 +23738,7 @@ "editType": "calc", "valType": "color" }, - "description": "Sets this axis' title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this axis' title font.", "editType": "calc", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -25276,14 +23823,14 @@ } }, "offset": { - "description": "An additional amount by which to offset the title from the tick labels, given in pixels. Note that this used to be set by the now deprecated `titleoffset` attribute.", + "description": "An additional amount by which to offset the title from the tick labels, given in pixels.", "dflt": 10, "editType": "calc", "valType": "number" }, "role": "object", "text": { - "description": "Sets the title of this axis. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of this axis.", "dflt": "", "editType": "calc", "valType": "string" @@ -25704,112 +24251,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -26249,7 +24691,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -26335,7 +24777,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -27107,112 +25549,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -27652,7 +25989,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -27738,7 +26075,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -28500,112 +26837,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -29045,7 +27277,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -29131,7 +27363,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -29932,112 +28164,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -30477,7 +28604,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -30563,7 +28690,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -31383,112 +29510,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -31928,7 +29950,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -32014,7 +30036,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -33316,112 +31338,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -33861,7 +31778,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -33947,7 +31864,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -34648,112 +32565,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -35193,7 +33005,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -35279,7 +33091,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -35979,112 +33791,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -36524,7 +34231,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -36610,7 +34317,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -37972,112 +35679,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -38517,7 +36119,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -38603,7 +36205,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -40466,7 +38068,7 @@ "editType": "none", "valType": "string" }, - "description": "Sets the font used for `title`. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets the font used for `title`.", "editType": "plot", "family": { "arrayOk": true, @@ -40599,7 +38201,7 @@ } }, "position": { - "description": "Specifies the location of the `title`. Note that the title's position used to be set by the now deprecated `titleposition` attribute.", + "description": "Specifies the location of the `title`.", "dflt": "top center", "editType": "plot", "valType": "enumerated", @@ -40611,7 +38213,7 @@ }, "role": "object", "text": { - "description": "Sets the title of the chart. If it is empty, no title is displayed. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the chart. If it is empty, no title is displayed.", "dflt": "", "editType": "plot", "valType": "string" @@ -40711,112 +38313,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -41256,7 +38753,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -41342,7 +38839,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -42359,112 +39856,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "calc", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "calc", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "calc", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "calc", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "calc", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "calc", - "valType": "string" - }, - "size": { - "editType": "calc", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "calc", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "calc", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -42904,7 +40296,7 @@ "editType": "calc", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "calc", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -42990,7 +40382,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "calc", "valType": "enumerated", "values": [ @@ -44550,112 +41942,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -45095,7 +42382,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -45181,7 +42468,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -46112,112 +43399,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -46657,7 +43839,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -46743,7 +43925,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -47726,112 +44908,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -48271,7 +45348,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -48357,7 +45434,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -50203,112 +47280,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -50748,7 +47720,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -50834,7 +47806,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -53683,112 +50655,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "calc", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "calc", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "calc", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "calc", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "calc", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "calc", - "valType": "string" - }, - "size": { - "editType": "calc", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "calc", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "calc", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -54228,7 +51095,7 @@ "editType": "calc", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "calc", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -54314,7 +51181,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "calc", "valType": "enumerated", "values": [ @@ -55309,112 +52176,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -55854,7 +52616,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -55940,7 +52702,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -58021,112 +54783,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -58566,7 +55223,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -58652,7 +55309,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -59420,112 +56077,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -59965,7 +56517,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -60051,7 +56603,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -60511,125 +57063,7 @@ "pie": { "animatable": false, "attributes": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of `title.text`. Note that value of `title` is no longer a simple *string* but a set of sub-attributes.", - "dflt": "", - "editType": "calc", - "valType": "string" - }, - "titlefont": { - "color": { - "arrayOk": true, - "editType": "plot", - "valType": "color" - }, - "description": "Deprecated in favor of `title.font`.", - "editType": "plot", - "family": { - "arrayOk": true, - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "plot", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "arrayOk": true, - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "plot", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "arrayOk": true, - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "plot", - "valType": "string" - }, - "size": { - "arrayOk": true, - "editType": "plot", - "min": 1, - "valType": "number" - }, - "style": { - "arrayOk": true, - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "plot", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "arrayOk": true, - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "plot", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "arrayOk": true, - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "plot", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "arrayOk": true, - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "plot", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleposition": { - "description": "Deprecated in favor of `title.position`.", - "editType": "calc", - "valType": "enumerated", - "values": [ - "top left", - "top center", - "top right", - "middle center", - "bottom left", - "bottom center", - "bottom right" - ] - } - }, + "_deprecated": {}, "automargin": { "description": "Determines whether outside text labels can push the margins.", "dflt": false, @@ -61855,7 +58289,7 @@ "editType": "none", "valType": "string" }, - "description": "Sets the font used for `title`. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets the font used for `title`.", "editType": "plot", "family": { "arrayOk": true, @@ -61988,7 +58422,7 @@ } }, "position": { - "description": "Specifies the location of the `title`. Note that the title's position used to be set by the now deprecated `titleposition` attribute.", + "description": "Specifies the location of the `title`.", "editType": "plot", "valType": "enumerated", "values": [ @@ -62003,7 +58437,7 @@ }, "role": "object", "text": { - "description": "Sets the title of the chart. If it is empty, no title is displayed. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the chart. If it is empty, no title is displayed.", "dflt": "", "editType": "plot", "valType": "string" @@ -64975,112 +61409,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -65520,7 +61849,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -65606,7 +61935,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -67742,112 +64071,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "calc", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "calc", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "calc", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "calc", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "calc", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "calc", - "valType": "string" - }, - "size": { - "editType": "calc", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "calc", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "calc", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -68287,7 +64511,7 @@ "editType": "calc", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "calc", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -68373,7 +64597,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "calc", "valType": "enumerated", "values": [ @@ -68557,112 +64781,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "calc", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "calc", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "calc", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "calc", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "calc", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "calc", - "valType": "string" - }, - "size": { - "editType": "calc", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "calc", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "calc", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -69102,7 +65221,7 @@ "editType": "calc", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "calc", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -69188,7 +65307,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "calc", "valType": "enumerated", "values": [ @@ -70500,112 +66619,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -71045,7 +67059,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -71131,7 +67145,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -72903,112 +68917,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "calc", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "calc", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "calc", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "calc", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "calc", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "calc", - "valType": "string" - }, - "size": { - "editType": "calc", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "calc", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "calc", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -73448,7 +69357,7 @@ "editType": "calc", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "calc", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -73534,7 +69443,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "calc", "valType": "enumerated", "values": [ @@ -75435,112 +71344,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "calc", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "calc", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "calc", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "calc", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "calc", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "calc", - "valType": "string" - }, - "size": { - "editType": "calc", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "calc", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "calc", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -75980,7 +71784,7 @@ "editType": "calc", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "calc", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -76066,7 +71870,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "calc", "valType": "enumerated", "values": [ @@ -77873,112 +73677,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "calc", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "calc", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "calc", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "calc", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "calc", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "calc", - "valType": "string" - }, - "size": { - "editType": "calc", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "calc", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "calc", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -78418,7 +74117,7 @@ "editType": "calc", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "calc", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -78504,7 +74203,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "calc", "valType": "enumerated", "values": [ @@ -79526,112 +75225,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "calc", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "calc", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "calc", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "calc", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "calc", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "calc", - "valType": "string" - }, - "size": { - "editType": "calc", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "calc", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "calc", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -80071,7 +75665,7 @@ "editType": "calc", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "calc", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -80157,7 +75751,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "calc", "valType": "enumerated", "values": [ @@ -81162,112 +76756,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -81707,7 +77196,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -81793,7 +77282,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -83538,112 +79027,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "calc", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "calc", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "calc", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "calc", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "calc", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "calc", - "valType": "string" - }, - "size": { - "editType": "calc", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "calc", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "calc", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -84083,7 +79467,7 @@ "editType": "calc", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "calc", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -84169,7 +79553,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "calc", "valType": "enumerated", "values": [ @@ -85858,112 +81242,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -86403,7 +81682,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -86489,7 +81768,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -88273,112 +83552,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -88818,7 +83992,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -88904,7 +84078,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -90619,112 +85793,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -91164,7 +86233,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -91250,7 +86319,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -92256,112 +87325,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -92801,7 +87765,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -92887,7 +87851,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -94407,112 +89371,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -94952,7 +89811,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -95038,7 +89897,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -95807,112 +90666,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "calc", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "calc", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "calc", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "calc", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "calc", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "calc", - "valType": "string" - }, - "size": { - "editType": "calc", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "calc", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "calc", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -96352,7 +91106,7 @@ "editType": "calc", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "calc", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -96438,7 +91192,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "calc", "valType": "enumerated", "values": [ @@ -99239,112 +93993,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "colorbars", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "colorbars", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "colorbars", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "colorbars", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "colorbars", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "colorbars", - "valType": "string" - }, - "size": { - "editType": "colorbars", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "colorbars", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "colorbars", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -99784,7 +94433,7 @@ "editType": "colorbars", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "colorbars", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -99870,7 +94519,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "colorbars", "valType": "enumerated", "values": [ @@ -102393,112 +97042,7 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": { - "title": { - "description": "Deprecated in favor of color bar's `title.text`. Note that value of color bar's `title` is no longer a simple *string* but a set of sub-attributes.", - "editType": "calc", - "valType": "string" - }, - "titlefont": { - "color": { - "editType": "calc", - "valType": "color" - }, - "description": "Deprecated in favor of color bar's `title.font`.", - "editType": "calc", - "family": { - "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", - "editType": "calc", - "noBlank": true, - "strict": true, - "valType": "string" - }, - "lineposition": { - "description": "Sets the kind of decoration line(s) with text, such as an *under*, *over* or *through* as well as combinations e.g. *under+over*, etc.", - "dflt": "none", - "editType": "calc", - "extras": [ - "none" - ], - "flags": [ - "under", - "over", - "through" - ], - "valType": "flaglist" - }, - "shadow": { - "description": "Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.", - "dflt": "none", - "editType": "calc", - "valType": "string" - }, - "size": { - "editType": "calc", - "min": 1, - "valType": "number" - }, - "style": { - "description": "Sets whether a font should be styled with a normal or italic face from its family.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "italic" - ] - }, - "textcase": { - "description": "Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "word caps", - "upper", - "lower" - ] - }, - "variant": { - "description": "Sets the variant of the font.", - "dflt": "normal", - "editType": "calc", - "valType": "enumerated", - "values": [ - "normal", - "small-caps", - "all-small-caps", - "all-petite-caps", - "petite-caps", - "unicase" - ] - }, - "weight": { - "description": "Sets the weight (or boldness) of the font.", - "dflt": "normal", - "editType": "calc", - "extras": [ - "normal", - "bold" - ], - "max": 1000, - "min": 1, - "valType": "integer" - } - }, - "titleside": { - "description": "Deprecated in favor of color bar's `title.side`.", - "dflt": "top", - "editType": "calc", - "valType": "enumerated", - "values": [ - "right", - "top", - "bottom" - ] - } - }, + "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -102938,7 +97482,7 @@ "editType": "calc", "valType": "color" }, - "description": "Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.", + "description": "Sets this color bar's title font.", "editType": "calc", "family": { "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", @@ -103024,7 +97568,7 @@ }, "role": "object", "side": { - "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.", + "description": "Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*.", "editType": "calc", "valType": "enumerated", "values": [ From 174ec017d4eab665f31f001f058ef361cfc698fe Mon Sep 17 00:00:00 2001 From: Emily Kellison-Linn <4672118+emilykl@users.noreply.github.com> Date: Fri, 4 Oct 2024 17:31:55 -0400 Subject: [PATCH 03/12] update jasmine tests --- test/jasmine/bundle_tests/mathjax_test.js | 6 ++--- test/jasmine/tests/cartesian_test.js | 14 +++++----- test/jasmine/tests/click_test.js | 4 +-- test/jasmine/tests/funnelarea_test.js | 14 +++++----- test/jasmine/tests/pie_test.js | 32 +++++++++++------------ test/jasmine/tests/plot_api_test.js | 12 ++++----- test/jasmine/tests/plots_test.js | 4 +-- test/jasmine/tests/pointcloud_test.js | 2 +- test/jasmine/tests/polar_test.js | 2 +- test/jasmine/tests/shapes_test.js | 12 ++++----- test/jasmine/tests/ternary_test.js | 11 ++++---- test/jasmine/tests/titles_test.js | 19 ++++---------- 12 files changed, 61 insertions(+), 71 deletions(-) diff --git a/test/jasmine/bundle_tests/mathjax_test.js b/test/jasmine/bundle_tests/mathjax_test.js index 16b51135f84..ad3ea686213 100644 --- a/test/jasmine/bundle_tests/mathjax_test.js +++ b/test/jasmine/bundle_tests/mathjax_test.js @@ -84,7 +84,7 @@ describe('Test MathJax v' + mathjaxVersion + ':', function() { y: [1, 2, 1] }], layout: { - xaxis: {title: 'TITLE'}, + xaxis: { title: { text: 'TITLE' } }, width: 500, height: 500, margin: {t: 100, b: 100, l: 100, r: 100} @@ -125,7 +125,7 @@ describe('Test MathJax v' + mathjaxVersion + ':', function() { y: [1, 2, 1] }], layout: { - xaxis: {title: 'TITLE'}, + xaxis: { title: { text: 'TITLE' } }, width: 500, height: 500, margin: {t: 100, b: 100, l: 100, r: 100} @@ -145,7 +145,7 @@ describe('Test MathJax v' + mathjaxVersion + ':', function() { y: [1, 2, 1] }], layout: { - xaxis: {title: texTitle}, + xaxis: { title: { text: texTitle } }, width: 500, height: 500, margin: {t: 100, b: 100, l: 100, r: 100} diff --git a/test/jasmine/tests/cartesian_test.js b/test/jasmine/tests/cartesian_test.js index a21349f9663..617726c202c 100644 --- a/test/jasmine/tests/cartesian_test.js +++ b/test/jasmine/tests/cartesian_test.js @@ -392,10 +392,10 @@ describe('subplot creation / deletion:', function() { } Plotly.newPlot(gd, [], { - xaxis: { title: 'X' }, - yaxis: { title: 'Y' }, - xaxis2: { title: 'X2', anchor: 'y2' }, - yaxis2: { title: 'Y2', anchor: 'x2' } + xaxis: { title: { text: 'X' } }, + yaxis: { title: { text: 'Y' } }, + xaxis2: { title: { text: 'X2' }, anchor: 'y2' }, + yaxis2: { title: { text: 'Y2' }, anchor: 'x2' } }) .then(function() { assertOrphanSubplot(1); @@ -415,7 +415,7 @@ describe('subplot creation / deletion:', function() { it('should remove unused axes when deleting traces', function(done) { Plotly.newPlot(gd, [{y: [1, 2, 3]}, {y: [10, 30, 20], yaxis: 'y2'}], - {yaxis2: {side: 'right', overlaying: 'y', title: 'Hi!'}} + { yaxis2: { side: 'right', overlaying: 'y', title: { text: 'Hi!' } }} ) .then(function() { expect(gd.querySelectorAll('.xy2,.xy2-x,.xy2-y').length).not.toBe(0); @@ -805,8 +805,8 @@ describe('subplot creation / deletion:', function() { Plotly.newPlot(gd, [{ y: [1, 2, 1] }], { - xaxis: {title: 'X'}, - yaxis: {title: 'Y'} + xaxis: { title: { text: 'X' } }, + yaxis: { title: { text: 'Y' } } }) .then(function() { _assert([5, 4, 1], [6, 6, 1]); diff --git a/test/jasmine/tests/click_test.js b/test/jasmine/tests/click_test.js index 2312b7fee41..3c255eb546e 100644 --- a/test/jasmine/tests/click_test.js +++ b/test/jasmine/tests/click_test.js @@ -931,7 +931,7 @@ describe('Test click interactions:', function() { }], layout: { xaxis: { - title: 'xaxis', + title: {text: 'xaxis'}, range: [0, 4] }, yaxis: { @@ -939,7 +939,7 @@ describe('Test click interactions:', function() { range: [-1, 5] }, yaxis2: { - title: 'yaxis2', + title: { text: 'yaxis2' }, overlaying: 'y', side: 'right', showgrid: false, diff --git a/test/jasmine/tests/funnelarea_test.js b/test/jasmine/tests/funnelarea_test.js index 1e487920cb8..efd0bdfc73c 100644 --- a/test/jasmine/tests/funnelarea_test.js +++ b/test/jasmine/tests/funnelarea_test.js @@ -301,7 +301,7 @@ describe('Funnelarea traces', function() { it('shows title top center if titleposition is undefined', function(done) { Plotly.newPlot(gd, [{ values: [2, 2, 2, 2], - title: 'Test
Title', + title: { text: 'Test
Title' }, titlefont: { size: 12 }, @@ -315,7 +315,7 @@ describe('Funnelarea traces', function() { it('shows title top center', function(done) { Plotly.newPlot(gd, [{ values: [1, 1, 1, 1, 2], - title: 'Test
Title', + title: { text: 'Test
Title' }, titleposition: 'top center', titlefont: { size: 12 @@ -330,7 +330,7 @@ describe('Funnelarea traces', function() { it('shows title top left', function(done) { Plotly.newPlot(gd, [{ values: [3, 2, 1], - title: 'Test
Title', + title: { text: 'Test
Title' }, titleposition: 'top left', titlefont: { size: 12 @@ -345,7 +345,7 @@ describe('Funnelarea traces', function() { it('shows title top right', function(done) { Plotly.newPlot(gd, [{ values: [4, 5, 6, 5], - title: 'Test
Title', + title: { text: 'Test
Title' }, titleposition: 'top right', titlefont: { size: 12 @@ -360,7 +360,7 @@ describe('Funnelarea traces', function() { it('correctly positions large title', function(done) { Plotly.newPlot(gd, [{ values: [1, 3, 4, 1, 2], - title: 'Test
Title', + title: { text: 'Test
Title' }, titleposition: 'top center', titlefont: { size: 60 @@ -591,7 +591,7 @@ describe('Funnelarea traces', function() { Plotly.newPlot(gd, [{ type: 'funnelarea', values: [1, 2, 3], - title: 'yo', + title: { text: 'yo' }, titlefont: {color: 'blue'}, titleposition: 'top left' }]) @@ -600,7 +600,7 @@ describe('Funnelarea traces', function() { _verifyTitle(true, false, true, false, false); return Plotly.restyle(gd, { - title: 'oy', + title: { text: 'oy' }, 'titlefont.color': 'red', titleposition: 'top right' }); diff --git a/test/jasmine/tests/pie_test.js b/test/jasmine/tests/pie_test.js index 78415e6ad7b..392df3f3432 100644 --- a/test/jasmine/tests/pie_test.js +++ b/test/jasmine/tests/pie_test.js @@ -305,7 +305,7 @@ describe('Pie traces', function() { it('shows multiline title in hole', function(done) { Plotly.newPlot(gd, [{ values: [2, 2, 2, 2], - title: 'Test
Title', + title: { text: 'Test
Title' }, hole: 0.5, type: 'pie', textinfo: 'none' @@ -329,7 +329,7 @@ describe('Pie traces', function() { it('scales multiline title to fit in hole', function(done) { Plotly.newPlot(gd, [{ values: [2, 2, 2, 2], - title: 'Test
Title', + title: { text: 'Test
Title' }, titleposition: 'middle center', titlefont: { size: 60 @@ -379,7 +379,7 @@ describe('Pie traces', function() { it('shows title top center if hole is zero', function(done) { Plotly.newPlot(gd, [{ values: [2, 2, 2, 2], - title: 'Test
Title', + title: { text: 'Test
Title' }, titleposition: 'middle center', titlefont: { size: 12 @@ -395,7 +395,7 @@ describe('Pie traces', function() { it('shows title top center if titleposition is undefined and no hole', function(done) { Plotly.newPlot(gd, [{ values: [2, 2, 2, 2], - title: 'Test
Title', + title: { text: 'Test
Title' }, titlefont: { size: 12 }, @@ -409,7 +409,7 @@ describe('Pie traces', function() { it('shows title top center', function(done) { Plotly.newPlot(gd, [{ values: [1, 1, 1, 1, 2], - title: 'Test
Title', + title: { text: 'Test
Title' }, titleposition: 'top center', titlefont: { size: 12 @@ -424,7 +424,7 @@ describe('Pie traces', function() { it('shows title top left', function(done) { Plotly.newPlot(gd, [{ values: [3, 2, 1], - title: 'Test
Title', + title: { text: 'Test
Title' }, titleposition: 'top left', titlefont: { size: 12 @@ -439,7 +439,7 @@ describe('Pie traces', function() { it('shows title top right', function(done) { Plotly.newPlot(gd, [{ values: [4, 5, 6, 5], - title: 'Test
Title', + title: { text: 'Test
Title' }, titleposition: 'top right', titlefont: { size: 12 @@ -454,7 +454,7 @@ describe('Pie traces', function() { it('shows title bottom left', function(done) { Plotly.newPlot(gd, [{ values: [4, 5, 6, 5], - title: 'Test
Title', + title: { text: 'Test
Title' }, titleposition: 'bottom left', titlefont: { size: 12 @@ -469,7 +469,7 @@ describe('Pie traces', function() { it('shows title bottom center', function(done) { Plotly.newPlot(gd, [{ values: [4, 5, 6, 5], - title: 'Test
Title', + title: { text: 'Test
Title' }, titleposition: 'bottom center', titlefont: { size: 12 @@ -484,7 +484,7 @@ describe('Pie traces', function() { it('shows title bottom right', function(done) { Plotly.newPlot(gd, [{ values: [4, 5, 6, 5], - title: 'Test
Title', + title: { text: 'Test
Title' }, titleposition: 'bottom right', titlefont: { size: 12 @@ -499,7 +499,7 @@ describe('Pie traces', function() { it('should be able to restyle title position', function(done) { Plotly.newPlot(gd, [{ values: [3, 2, 1], - title: 'Test
Title', + title: { text: 'Test
Title' }, titleposition: 'top left', titlefont: { size: 12 @@ -522,7 +522,7 @@ describe('Pie traces', function() { it('does not intersect pulled slices', function(done) { Plotly.newPlot(gd, [{ values: [2, 2, 2, 2], - title: 'Test
Title', + title: { text: 'Test
Title' }, titleposition: 'top center', titlefont: { size: 14 @@ -548,7 +548,7 @@ describe('Pie traces', function() { it('correctly positions large title', function(done) { Plotly.newPlot(gd, [{ values: [1, 3, 4, 1, 2], - title: 'Test
Title', + title: { text: 'Test
Title' }, titleposition: 'top center', titlefont: { size: 60 @@ -795,7 +795,7 @@ describe('Pie traces', function() { Plotly.newPlot(gd, [{ type: 'pie', values: [1, 2, 3], - title: 'yo', + title: { text: 'yo' }, titlefont: {color: 'blue'}, titleposition: 'top left' }]) @@ -837,7 +837,7 @@ describe('Pie traces', function() { Plotly.newPlot(gd, [{ type: 'pie', values: [1, 2, 3], - title: 'yo', + title: { text: 'yo' }, titlefont: {color: 'blue'}, titleposition: 'top left' }]) @@ -846,7 +846,7 @@ describe('Pie traces', function() { _verifyTitle(true, false, true, false, false); return Plotly.restyle(gd, { - title: 'oy', + title: { text: 'oy' }, 'titlefont.color': 'red', titleposition: 'bottom right' }); diff --git a/test/jasmine/tests/plot_api_test.js b/test/jasmine/tests/plot_api_test.js index 98ad35df7b5..32721b03569 100644 --- a/test/jasmine/tests/plot_api_test.js +++ b/test/jasmine/tests/plot_api_test.js @@ -260,8 +260,8 @@ describe('Test plot api', function() { x: [1, 2, 3], y: [1, 2, 1] }], { - xaxis: { title: 'x title' }, - yaxis: { title: 'y title' } + xaxis: { title: { text: 'x title' } }, + yaxis: { title: { text: 'y title' } } }) .then(function() { return Plotly.relayout(gd, { zaxis: {} }); @@ -533,7 +533,7 @@ describe('Test plot api', function() { .then(function() { gd.on('plotly_relayout', function(eventData) { expect(eventData).toEqual({ - title: 'Plotly chart', + title: { text: 'Plotly chart' }, 'xaxis.title': 'X', 'xaxis.titlefont': {color: 'green'}, 'yaxis.title': 'Y', @@ -543,7 +543,7 @@ describe('Test plot api', function() { }); return Plotly.relayout(gd, { - title: 'Plotly chart', + title: { text: 'Plotly chart' }, 'xaxis.title': 'X', 'xaxis.titlefont': {color: 'green'}, 'yaxis.title': 'Y', @@ -2283,7 +2283,7 @@ describe('Test plot api', function() { it('', function(done) { var gd = createGraphDiv(); var initialData = []; - var layout = { title: 'Redraw' }; + var layout = { title: { text: 'Redraw' } }; Plotly.newPlot(gd, initialData, layout) .then(function() { @@ -2757,7 +2757,7 @@ describe('Test plot api', function() { }; var layoutUpdate = { - xaxis: {title: 'A', type: '-'} + xaxis: { title: { text: 'A' }, type: '-'} }; Plotly.update(gd, traceUpdate, layoutUpdate).then(function() { diff --git a/test/jasmine/tests/plots_test.js b/test/jasmine/tests/plots_test.js index a5cbfaaab47..92ba8c2abe5 100644 --- a/test/jasmine/tests/plots_test.js +++ b/test/jasmine/tests/plots_test.js @@ -579,7 +579,7 @@ describe('Test Plots', function() { y: [1, 2, 1], }], layout: { - title: 'frame A' + title: { text: 'frame A' } }, name: 'A' }, null, { @@ -587,7 +587,7 @@ describe('Test Plots', function() { y: [1, 2, 3], }], layout: { - title: 'frame B' + title: { text: 'frame B' } }, name: 'B' }, { diff --git a/test/jasmine/tests/pointcloud_test.js b/test/jasmine/tests/pointcloud_test.js index 7018629f915..6b9a232af29 100644 --- a/test/jasmine/tests/pointcloud_test.js +++ b/test/jasmine/tests/pointcloud_test.js @@ -121,7 +121,7 @@ var plotData = { } ], layout: { - title: 'Point Cloud - basic', + title: { text: 'Point Cloud - basic' }, xaxis: { type: 'linear', range: [ diff --git a/test/jasmine/tests/polar_test.js b/test/jasmine/tests/polar_test.js index 05621b2fdd4..b2bc4e68530 100644 --- a/test/jasmine/tests/polar_test.js +++ b/test/jasmine/tests/polar_test.js @@ -473,7 +473,7 @@ describe('Test relayout on polar subplots:', function() { theta: [10, 20, 30] }], { polar: { - radialaxis: {title: 'yo'} + radialaxis: { title: { text: 'yo' } } } }) .then(function() { diff --git a/test/jasmine/tests/shapes_test.js b/test/jasmine/tests/shapes_test.js index 1ea56af23ee..d26a2529887 100644 --- a/test/jasmine/tests/shapes_test.js +++ b/test/jasmine/tests/shapes_test.js @@ -748,7 +748,7 @@ describe('A path shape sized relative to data', function() { type: 'scatter' }]; layout = { - title: 'Path shape sized relative to data', + title: { text: 'Path shape sized relative to data' }, width: 400, height: 400, shapes: [{ @@ -792,7 +792,7 @@ describe('A fixed size path shape', function() { type: 'scatter' }]; layout = { - title: 'Fixed size path shape', + title: { text: 'Fixed size path shape' }, width: 400, height: 400, shapes: [{ @@ -930,7 +930,7 @@ describe('A fixed size shape', function() { type: 'scatter' }]; layout = { - title: 'Fixed size shape', + title: { text: 'Fixed size shape' }, width: 400, height: 400, shapes: [{ @@ -1315,19 +1315,19 @@ describe('Test shapes', function() { var testCases = [ // xref: 'paper', yref: 'paper' { - title: 'linked to paper' + title: { text: 'linked to paper' } }, // xaxis.type: 'linear', yaxis.type: 'log' { - title: 'linked to linear and log axes', + title: { text: 'linked to linear and log axes' }, xaxis: { type: 'linear', range: [0, 10] }, yaxis: { type: 'log', range: [Math.log10(1), Math.log10(1000)] } }, // xaxis.type: 'date', yaxis.type: 'category' { - title: 'linked to date and category axes', + title: { text: 'linked to date and category axes' }, xaxis: { type: 'date', range: ['2000-01-01', '2000-02-02'] diff --git a/test/jasmine/tests/ternary_test.js b/test/jasmine/tests/ternary_test.js index 05777a80d5c..37defdc7d9e 100644 --- a/test/jasmine/tests/ternary_test.js +++ b/test/jasmine/tests/ternary_test.js @@ -392,16 +392,15 @@ describe('ternary plots', function() { _assert('b', 'chocolate', '"Open Sans", verdana, arial, sans-serif', rgb('#0f0'), 14); _assert('c', 'Component C', '"Open Sans", verdana, arial, sans-serif', rgb('#444'), 14); - // Note: Different update notations to also test legacy title structures return Plotly.relayout(gd, { 'ternary.aaxis.title.text': 'chips', 'ternary.aaxis.title.font.color': 'yellow', - 'ternary.aaxis.titlefont.family': 'monospace', - 'ternary.aaxis.titlefont.size': 16, - 'ternary.baxis.title': 'white chocolate', + 'ternary.aaxis.title.font.family': 'monospace', + 'ternary.aaxis.title.font.size': 16, + 'ternary.baxis.title.text': 'white chocolate', 'ternary.baxis.title.font.color': 'blue', - 'ternary.baxis.titlefont.family': 'sans-serif', - 'ternary.baxis.titlefont.size': 10, + 'ternary.baxis.title.font.family': 'sans-serif', + 'ternary.baxis.title.font.size': 10, 'ternary.caxis.title': { text: 'candy', font: { diff --git a/test/jasmine/tests/titles_test.js b/test/jasmine/tests/titles_test.js index 1f2dcdaecd9..2e7a296beec 100644 --- a/test/jasmine/tests/titles_test.js +++ b/test/jasmine/tests/titles_test.js @@ -52,17 +52,8 @@ describe('Plot title', function() { .then(done, done.fail); }); - it('can still be defined as `layout.title` to ensure backwards-compatibility', function(done) { - Plotly.newPlot(gd, data, {title: 'Plotly line chart'}) - .then(function() { - expectTitle('Plotly line chart'); - expectDefaultCenteredPosition(gd); - }) - .then(done, done.fail); - }); - it('can be updated via `relayout`', function(done) { - Plotly.newPlot(gd, data, {title: 'Plotly line chart'}) + Plotly.newPlot(gd, data, { title: { text: 'Plotly line chart' } }) .then(expectTitleFn('Plotly line chart')) .then(function() { return Plotly.relayout(gd, {title: {text: 'Some other title'}}); @@ -983,26 +974,26 @@ describe('Titles for multiple axes', function() { ]; var multiAxesLayout = { xaxis: { - title: 'X-Axis 1', + title: { text: 'X-Axis 1' }, titlefont: { size: 30 } }, xaxis2: { - title: 'X-Axis 2', + title: { text: 'X-Axis 2' }, titlefont: { family: 'serif' }, side: 'top' }, yaxis: { - title: 'Y-Axis 1', + title: { text: 'Y-Axis 1' }, titlefont: { family: 'Roboto' }, }, yaxis2: { - title: 'Y-Axis 2', + title: { text: 'Y-Axis 2' }, titlefont: { color: 'blue' }, From d1a5f09052d95a98bbb7c1f026db60adc350df10 Mon Sep 17 00:00:00 2001 From: Emily Kellison-Linn <4672118+emilykl@users.noreply.github.com> Date: Fri, 4 Oct 2024 18:24:12 -0400 Subject: [PATCH 04/12] update jasmine tests --- test/jasmine/bundle_tests/mathjax_test.js | 4 +- test/jasmine/tests/funnelarea_test.js | 39 ++--- test/jasmine/tests/pie_test.js | 95 +++--------- test/jasmine/tests/plot_api_test.js | 4 +- test/jasmine/tests/polar_test.js | 2 +- test/jasmine/tests/titles_test.js | 171 ---------------------- 6 files changed, 37 insertions(+), 278 deletions(-) diff --git a/test/jasmine/bundle_tests/mathjax_test.js b/test/jasmine/bundle_tests/mathjax_test.js index ad3ea686213..9aac4406653 100644 --- a/test/jasmine/bundle_tests/mathjax_test.js +++ b/test/jasmine/bundle_tests/mathjax_test.js @@ -55,9 +55,9 @@ describe('Test MathJax v' + mathjaxVersion + ':', function() { return Plotly.newPlot(gd, fig) .then(function() { assertNoIntersect('base'); }) - .then(function() { return Plotly.relayout(gd, 'xaxis.titlefont.size', 40); }) + .then(function() { return Plotly.relayout(gd, 'xaxis.title.font.size', 40); }) .then(function() { assertNoIntersect('large title font size'); }) - .then(function() { return Plotly.relayout(gd, 'xaxis.titlefont.size', null); }) + .then(function() { return Plotly.relayout(gd, 'xaxis.title.font.size', null); }) .then(function() { assertNoIntersect('back to base'); }) .then(function() { return Plotly.relayout(gd, 'xaxis.tickfont.size', 40); }) .then(function() { assertNoIntersect('large title font size'); }) diff --git a/test/jasmine/tests/funnelarea_test.js b/test/jasmine/tests/funnelarea_test.js index efd0bdfc73c..0136738b848 100644 --- a/test/jasmine/tests/funnelarea_test.js +++ b/test/jasmine/tests/funnelarea_test.js @@ -298,13 +298,10 @@ describe('Funnelarea traces', function() { }; } - it('shows title top center if titleposition is undefined', function(done) { + it('shows title top center if title.position is undefined', function(done) { Plotly.newPlot(gd, [{ values: [2, 2, 2, 2], - title: { text: 'Test
Title' }, - titlefont: { - size: 12 - }, + title: { text: 'Test
Title', font: { size: 12 } }, type: 'funnelarea', textinfo: 'none' }], {height: 300, width: 300}) @@ -315,11 +312,7 @@ describe('Funnelarea traces', function() { it('shows title top center', function(done) { Plotly.newPlot(gd, [{ values: [1, 1, 1, 1, 2], - title: { text: 'Test
Title' }, - titleposition: 'top center', - titlefont: { - size: 12 - }, + title: { text: 'Test
Title', position: 'top center', font: { size: 12 } }, type: 'funnelarea', textinfo: 'none' }], {height: 300, width: 300}) @@ -330,11 +323,7 @@ describe('Funnelarea traces', function() { it('shows title top left', function(done) { Plotly.newPlot(gd, [{ values: [3, 2, 1], - title: { text: 'Test
Title' }, - titleposition: 'top left', - titlefont: { - size: 12 - }, + title: { text: 'Test
Title', position: 'top center', font: { size: 12 } }, type: 'funnelarea', textinfo: 'none' }], {height: 300, width: 300}) @@ -345,11 +334,7 @@ describe('Funnelarea traces', function() { it('shows title top right', function(done) { Plotly.newPlot(gd, [{ values: [4, 5, 6, 5], - title: { text: 'Test
Title' }, - titleposition: 'top right', - titlefont: { - size: 12 - }, + title: { text: 'Test
Title', position: 'top right', font: { size: 12 } }, type: 'funnelarea', textinfo: 'none' }], {height: 300, width: 300}) @@ -360,11 +345,7 @@ describe('Funnelarea traces', function() { it('correctly positions large title', function(done) { Plotly.newPlot(gd, [{ values: [1, 3, 4, 1, 2], - title: { text: 'Test
Title' }, - titleposition: 'top center', - titlefont: { - size: 60 - }, + title: { text: 'Test
Title', position: 'top center', size: 60 }, type: 'funnelarea', textinfo: 'none' }], {height: 300, width: 300}) @@ -591,9 +572,7 @@ describe('Funnelarea traces', function() { Plotly.newPlot(gd, [{ type: 'funnelarea', values: [1, 2, 3], - title: { text: 'yo' }, - titlefont: {color: 'blue'}, - titleposition: 'top left' + title: { text: 'yo', position: 'top left', font: { color: 'blue' } }, }]) .then(function() { _assertTitle('base', 'yo', 'rgb(0, 0, 255)'); @@ -601,8 +580,8 @@ describe('Funnelarea traces', function() { return Plotly.restyle(gd, { title: { text: 'oy' }, - 'titlefont.color': 'red', - titleposition: 'top right' + 'title.font.color': 'red', + 'title.position': 'top right' }); }) .then(function() { diff --git a/test/jasmine/tests/pie_test.js b/test/jasmine/tests/pie_test.js index 392df3f3432..98fa478639f 100644 --- a/test/jasmine/tests/pie_test.js +++ b/test/jasmine/tests/pie_test.js @@ -16,6 +16,8 @@ var customAssertions = require('../assets/custom_assertions'); var assertHoverLabelStyle = customAssertions.assertHoverLabelStyle; var assertHoverLabelContent = customAssertions.assertHoverLabelContent; var checkTextTemplate = require('../assets/check_texttemplate'); +const { position } = require('../../../src/plots/cartesian/layout_attributes'); +const { font } = require('../../../src/plots/layout_attributes'); var SLICES_SELECTOR = '.slice path'; var SLICES_TEXT_SELECTOR = '.pielayer text.slicetext'; @@ -329,11 +331,7 @@ describe('Pie traces', function() { it('scales multiline title to fit in hole', function(done) { Plotly.newPlot(gd, [{ values: [2, 2, 2, 2], - title: { text: 'Test
Title' }, - titleposition: 'middle center', - titlefont: { - size: 60 - }, + title: { text: 'Test
Title', position: 'middle center', font: { size: 60 } }, hole: 0.1, type: 'pie', textinfo: 'none' @@ -379,11 +377,7 @@ describe('Pie traces', function() { it('shows title top center if hole is zero', function(done) { Plotly.newPlot(gd, [{ values: [2, 2, 2, 2], - title: { text: 'Test
Title' }, - titleposition: 'middle center', - titlefont: { - size: 12 - }, + title: { text: 'Test
Title', position: 'middle center', font: { size: 12 } }, hole: 0, type: 'pie', textinfo: 'none' @@ -392,13 +386,10 @@ describe('Pie traces', function() { .then(done, done.fail); }); - it('shows title top center if titleposition is undefined and no hole', function(done) { + it('shows title top center if title.position is undefined and no hole', function(done) { Plotly.newPlot(gd, [{ values: [2, 2, 2, 2], - title: { text: 'Test
Title' }, - titlefont: { - size: 12 - }, + title: { text: 'Test
Title', font: { size: 12 } }, type: 'pie', textinfo: 'none' }], {height: 300, width: 300}) @@ -409,11 +400,7 @@ describe('Pie traces', function() { it('shows title top center', function(done) { Plotly.newPlot(gd, [{ values: [1, 1, 1, 1, 2], - title: { text: 'Test
Title' }, - titleposition: 'top center', - titlefont: { - size: 12 - }, + title: { text: 'Test
Title', position: 'top center', font: { size: 12 } }, type: 'pie', textinfo: 'none' }], {height: 300, width: 300}) @@ -424,11 +411,7 @@ describe('Pie traces', function() { it('shows title top left', function(done) { Plotly.newPlot(gd, [{ values: [3, 2, 1], - title: { text: 'Test
Title' }, - titleposition: 'top left', - titlefont: { - size: 12 - }, + title: { text: 'Test
Title', position: 'top left', font: { size: 12 } }, type: 'pie', textinfo: 'none' }], {height: 300, width: 300}) @@ -439,11 +422,7 @@ describe('Pie traces', function() { it('shows title top right', function(done) { Plotly.newPlot(gd, [{ values: [4, 5, 6, 5], - title: { text: 'Test
Title' }, - titleposition: 'top right', - titlefont: { - size: 12 - }, + title: { text: 'Test
Title', position: 'top right', font: { size: 12 } }, type: 'pie', textinfo: 'none' }], {height: 300, width: 300}) @@ -454,11 +433,7 @@ describe('Pie traces', function() { it('shows title bottom left', function(done) { Plotly.newPlot(gd, [{ values: [4, 5, 6, 5], - title: { text: 'Test
Title' }, - titleposition: 'bottom left', - titlefont: { - size: 12 - }, + title: { text: 'Test
Title', position: 'bottom left', font: { size: 12 } }, type: 'pie', textinfo: 'none' }], {height: 300, width: 300}) @@ -469,11 +444,7 @@ describe('Pie traces', function() { it('shows title bottom center', function(done) { Plotly.newPlot(gd, [{ values: [4, 5, 6, 5], - title: { text: 'Test
Title' }, - titleposition: 'bottom center', - titlefont: { - size: 12 - }, + title: { text: 'Test
Title', position: 'bottom center', font: { size: 12 } }, type: 'pie', textinfo: 'none' }], {height: 300, width: 300}) @@ -484,11 +455,7 @@ describe('Pie traces', function() { it('shows title bottom right', function(done) { Plotly.newPlot(gd, [{ values: [4, 5, 6, 5], - title: { text: 'Test
Title' }, - titleposition: 'bottom right', - titlefont: { - size: 12 - }, + title: { text: 'Test
Title', position: 'bottom right', font: { size: 12 } }, type: 'pie', textinfo: 'none' }], {height: 300, width: 300}) @@ -499,22 +466,18 @@ describe('Pie traces', function() { it('should be able to restyle title position', function(done) { Plotly.newPlot(gd, [{ values: [3, 2, 1], - title: { text: 'Test
Title' }, - titleposition: 'top left', - titlefont: { - size: 12 - }, + title: { text: 'Test
Title', position: 'top left', font: { size: 12 } }, type: 'pie', textinfo: 'none' }], {height: 300, width: 300}) .then(_verifyTitle(true, false, true, false, false)) - .then(function() { return Plotly.restyle(gd, 'titleposition', 'top right'); }) + .then(function() { return Plotly.restyle(gd, 'title.position', 'top right'); }) .then(_verifyTitle(false, true, true, false, false)) - .then(function() { return Plotly.restyle(gd, 'titleposition', 'bottom left'); }) + .then(function() { return Plotly.restyle(gd, 'title.position', 'bottom left'); }) .then(_verifyTitle(true, false, false, true, false)) - .then(function() { return Plotly.restyle(gd, 'titleposition', 'bottom center'); }) + .then(function() { return Plotly.restyle(gd, 'title.position', 'bottom center'); }) .then(_verifyTitle(false, false, false, true, true)) - .then(function() { return Plotly.restyle(gd, 'titleposition', 'bottom right'); }) + .then(function() { return Plotly.restyle(gd, 'title.position', 'bottom right'); }) .then(_verifyTitle(false, true, false, true, false)) .then(done, done.fail); }); @@ -522,11 +485,7 @@ describe('Pie traces', function() { it('does not intersect pulled slices', function(done) { Plotly.newPlot(gd, [{ values: [2, 2, 2, 2], - title: { text: 'Test
Title' }, - titleposition: 'top center', - titlefont: { - size: 14 - }, + title: { text: 'Test
Title', position: 'top center', font: { size: 14 } }, pull: [0.9, 0.9, 0.9, 0.9], type: 'pie', textinfo: 'none' @@ -548,11 +507,7 @@ describe('Pie traces', function() { it('correctly positions large title', function(done) { Plotly.newPlot(gd, [{ values: [1, 3, 4, 1, 2], - title: { text: 'Test
Title' }, - titleposition: 'top center', - titlefont: { - size: 60 - }, + title: { text: 'Test
Title', position: 'top center', font: { size: 60 } }, type: 'pie', textinfo: 'none' }], {height: 300, width: 300}) @@ -795,9 +750,7 @@ describe('Pie traces', function() { Plotly.newPlot(gd, [{ type: 'pie', values: [1, 2, 3], - title: { text: 'yo' }, - titlefont: {color: 'blue'}, - titleposition: 'top left' + title: { text: 'yo', font: {color: 'blue'}, position: 'top left' } }]) .then(function() { _assertTitle('base', 'yo', 'rgb(0, 0, 255)'); @@ -837,9 +790,7 @@ describe('Pie traces', function() { Plotly.newPlot(gd, [{ type: 'pie', values: [1, 2, 3], - title: { text: 'yo' }, - titlefont: {color: 'blue'}, - titleposition: 'top left' + title: { text: 'yo', font: { color: 'blue' }, position: 'top left' } }]) .then(function() { _assertTitle('base', 'yo', 'rgb(0, 0, 255)'); @@ -847,8 +798,8 @@ describe('Pie traces', function() { return Plotly.restyle(gd, { title: { text: 'oy' }, - 'titlefont.color': 'red', - titleposition: 'bottom right' + 'title.font.color': 'red', + 'title.position': 'bottom right' }); }) .then(function() { diff --git a/test/jasmine/tests/plot_api_test.js b/test/jasmine/tests/plot_api_test.js index 32721b03569..5408eccb8f1 100644 --- a/test/jasmine/tests/plot_api_test.js +++ b/test/jasmine/tests/plot_api_test.js @@ -535,7 +535,7 @@ describe('Test plot api', function() { expect(eventData).toEqual({ title: { text: 'Plotly chart' }, 'xaxis.title': 'X', - 'xaxis.titlefont': {color: 'green'}, + 'xaxis.title.font': {color: 'green'}, 'yaxis.title': 'Y', 'polar.radialaxis.title': 'Radial' }); @@ -545,7 +545,7 @@ describe('Test plot api', function() { return Plotly.relayout(gd, { title: { text: 'Plotly chart' }, 'xaxis.title': 'X', - 'xaxis.titlefont': {color: 'green'}, + 'xaxis.title.font': {color: 'green'}, 'yaxis.title': 'Y', 'polar.radialaxis.title': 'Radial' }); diff --git a/test/jasmine/tests/polar_test.js b/test/jasmine/tests/polar_test.js index b2bc4e68530..bf18ad47a04 100644 --- a/test/jasmine/tests/polar_test.js +++ b/test/jasmine/tests/polar_test.js @@ -490,7 +490,7 @@ describe('Test relayout on polar subplots:', function() { }) .then(function() { assertTitle('yo2', true); - return Plotly.relayout(gd, 'polar.radialaxis.titlefont.color', 'red'); + return Plotly.relayout(gd, 'polar.radialaxis.title.font.color', 'red'); }) .then(function() { assertTitle('yo2', false); diff --git a/test/jasmine/tests/titles_test.js b/test/jasmine/tests/titles_test.js index 2e7a296beec..752fd712b57 100644 --- a/test/jasmine/tests/titles_test.js +++ b/test/jasmine/tests/titles_test.js @@ -780,47 +780,6 @@ describe('Titles support setting custom font properties', function() { }) .then(done, done.fail); }); - - it('through using the deprecated `titlefont` properties (backwards-compatibility)', function(done) { - var layout = { - title: { - text: 'Plotly line chart', - }, - titlefont: { - color: 'blue', - family: 'serif', - size: 24 - }, - xaxis: { - title: { - text: 'X-Axis', - }, - titlefont: { - color: '#333', - family: 'sans-serif', - size: 20 - } - }, - yaxis: { - title: { - text: 'Y-Axis', - }, - titlefont: { - color: '#666', - family: 'Arial', - size: 16 - } - } - }; - - Plotly.newPlot(gd, data, layout) - .then(function() { - expectTitleFont('blue', 'serif', 24); - expectXAxisTitleFont('#333', 'sans-serif', 20); - expectYAxisTitleFont('#666', 'Arial', 16); - }) - .then(done, done.fail); - }); }); describe('Title fonts can be updated', function() { @@ -902,44 +861,6 @@ describe('Title fonts can be updated', function() { 'yaxis.title.font.size': NEW_YTITLE_FONT.size } }, - { - desc: 'despite passing deprecated `titlefont` properties (backwards-compatibility)', - update: { - titlefont: NEW_TITLE_FONT, - xaxis: { - title: NEW_XTITLE, - titlefont: NEW_XTITLE_FONT - }, - yaxis: { - title: NEW_YTITLE, - titlefont: NEW_YTITLE_FONT - } - } - }, - { - desc: 'despite using string attributes representing the deprecated structure ' + - '(backwards-compatibility)', - update: { - 'titlefont.color': NEW_TITLE_FONT.color, - 'titlefont.family': NEW_TITLE_FONT.family, - 'titlefont.size': NEW_TITLE_FONT.size, - 'xaxis.titlefont.color': NEW_XTITLE_FONT.color, - 'xaxis.titlefont.family': NEW_XTITLE_FONT.family, - 'xaxis.titlefont.size': NEW_XTITLE_FONT.size, - 'yaxis.titlefont.color': NEW_YTITLE_FONT.color, - 'yaxis.titlefont.family': NEW_YTITLE_FONT.family, - 'yaxis.titlefont.size': NEW_YTITLE_FONT.size - } - }, - { - desc: 'despite using string attributes replacing deprecated `titlefont` attributes ' + - '(backwards-compatibility)', - update: { - titlefont: NEW_TITLE_FONT, - 'xaxis.titlefont': NEW_XTITLE_FONT, - 'yaxis.titlefont': NEW_YTITLE_FONT - } - } ].forEach(function(testCase) { it('via `Plotly.relayout` ' + testCase.desc, function(done) { Plotly.relayout(gd, testCase.update) @@ -965,98 +886,6 @@ describe('Title fonts can be updated', function() { } }); -describe('Titles for multiple axes', function() { - 'use strict'; - - var data = [ - {x: [1, 2, 3], y: [1, 2, 3], xaxis: 'x', yaxis: 'y'}, - {x: [1, 2, 3], y: [3, 2, 1], xaxis: 'x2', yaxis: 'y2'} - ]; - var multiAxesLayout = { - xaxis: { - title: { text: 'X-Axis 1' }, - titlefont: { - size: 30 - } - }, - xaxis2: { - title: { text: 'X-Axis 2' }, - titlefont: { - family: 'serif' - }, - side: 'top' - }, - yaxis: { - title: { text: 'Y-Axis 1' }, - titlefont: { - family: 'Roboto' - }, - }, - yaxis2: { - title: { text: 'Y-Axis 2' }, - titlefont: { - color: 'blue' - }, - side: 'right' - } - }; - var gd; - - beforeEach(function() { - gd = createGraphDiv(); - }); - - afterEach(destroyGraphDiv); - - it('still support deprecated `title` and `titlefont` syntax (backwards-compatibility)', function(done) { - Plotly.newPlot(gd, data, multiAxesLayout) - .then(function() { - expect(xTitleSel(1).text()).toBe('X-Axis 1'); - expect(xTitleSel(1).node().style.fontSize).toBe('30px'); - - expect(xTitleSel(2).text()).toBe('X-Axis 2'); - expect(xTitleSel(2).node().style.fontFamily).toBe('serif'); - - expect(yTitleSel(1).text()).toBe('Y-Axis 1'); - expect(yTitleSel(1).node().style.fontFamily).toBe('Roboto'); - - expect(yTitleSel(2).text()).toBe('Y-Axis 2'); - expect(yTitleSel(2).node().style.fill).toBe(rgb('blue')); - }) - .then(done, done.fail); - }); - - it('can be updated using deprecated `title` and `titlefont` syntax (backwards-compatibility)', function(done) { - Plotly.newPlot(gd, data, multiAxesLayout) - .then(function() { - return Plotly.relayout(gd, { - 'xaxis2.title': '2nd X-Axis', - 'xaxis2.titlefont.color': 'pink', - 'xaxis2.titlefont.family': 'sans-serif', - 'xaxis2.titlefont.size': '14', - 'yaxis2.title': '2nd Y-Axis', - 'yaxis2.titlefont.color': 'yellow', - 'yaxis2.titlefont.family': 'monospace', - 'yaxis2.titlefont.size': '5' - }); - }) - .then(function() { - var x2Style = xTitleSel(2).node().style; - expect(xTitleSel(2).text()).toBe('2nd X-Axis'); - expect(x2Style.fill).toBe(rgb('pink')); - expect(x2Style.fontFamily).toBe('sans-serif'); - expect(x2Style.fontSize).toBe('14px'); - - var y2Style = yTitleSel(2).node().style; - expect(yTitleSel(2).text()).toBe('2nd Y-Axis'); - expect(y2Style.fill).toBe(rgb('yellow')); - expect(y2Style.fontFamily).toBe('monospace'); - expect(y2Style.fontSize).toBe('5px'); - }) - .then(done, done.fail); - }); -}); - // TODO: Add in tests for interactions with other automargined elements describe('Title automargining', function() { 'use strict'; From e3d5abbadc6c476687c36439bfdd5dd1cebbd765 Mon Sep 17 00:00:00 2001 From: Emily Kellison-Linn <4672118+emilykl@users.noreply.github.com> Date: Fri, 4 Oct 2024 18:24:59 -0400 Subject: [PATCH 05/12] remove deprecated title attributes from colorbar --- src/components/colorbar/attributes.js | 32 ++------------------------- 1 file changed, 2 insertions(+), 30 deletions(-) diff --git a/src/components/colorbar/attributes.js b/src/components/colorbar/attributes.js index e048f29ad4b..0557fa778d0 100644 --- a/src/components/colorbar/attributes.js +++ b/src/components/colorbar/attributes.js @@ -212,19 +212,10 @@ module.exports = overrideAll({ title: { text: { valType: 'string', - description: [ - 'Sets the title of the color bar.', - 'Note that before the existence of `title.text`, the title\'s', - 'contents used to be defined as the `title` attribute itself.', - 'This behavior has been deprecated.' - ].join(' ') + description: 'Sets the title of the color bar.' }, font: fontAttrs({ - description: [ - 'Sets this color bar\'s title font.', - 'Note that the title\'s font used to be set', - 'by the now deprecated `titlefont` attribute.' - ].join(' ') + description: 'Sets this color bar\'s title font.' }), side: { valType: 'enumerated', @@ -234,29 +225,10 @@ module.exports = overrideAll({ 'with respect to the color bar.', 'Defaults to *top* when `orientation` if *v* and ', 'defaults to *right* when `orientation` if *h*.', - 'Note that the title\'s location used to be set', - 'by the now deprecated `titleside` attribute.' ].join(' ') } }, _deprecated: { - title: { - valType: 'string', - description: [ - 'Deprecated in favor of color bar\'s `title.text`.', - 'Note that value of color bar\'s `title` is no longer a simple', - '*string* but a set of sub-attributes.' - ].join(' ') - }, - titlefont: fontAttrs({ - description: 'Deprecated in favor of color bar\'s `title.font`.' - }), - titleside: { - valType: 'enumerated', - values: ['right', 'top', 'bottom'], - dflt: 'top', - description: 'Deprecated in favor of color bar\'s `title.side`.' - } } }, 'colorbars', 'from-root'); From 0f2fde958cf3acd16fdbc68c533f033306ad8cd9 Mon Sep 17 00:00:00 2001 From: Emily Kellison-Linn <4672118+emilykl@users.noreply.github.com> Date: Fri, 4 Oct 2024 18:44:36 -0400 Subject: [PATCH 06/12] update plot-schema --- test/plot-schema.json | 80 +++++++++++++++++++++---------------------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/test/plot-schema.json b/test/plot-schema.json index 1deb386fbaa..4588dba289b 100644 --- a/test/plot-schema.json +++ b/test/plot-schema.json @@ -1768,7 +1768,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -17640,7 +17640,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -19684,7 +19684,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -24787,7 +24787,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -26085,7 +26085,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -27373,7 +27373,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -28700,7 +28700,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -30046,7 +30046,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -31874,7 +31874,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -33101,7 +33101,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -34327,7 +34327,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -36215,7 +36215,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -38849,7 +38849,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -40392,7 +40392,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "calc", "valType": "string" } @@ -42478,7 +42478,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -43935,7 +43935,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -45444,7 +45444,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -47816,7 +47816,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -51191,7 +51191,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "calc", "valType": "string" } @@ -52712,7 +52712,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -55319,7 +55319,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -56613,7 +56613,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -61945,7 +61945,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -64607,7 +64607,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "calc", "valType": "string" } @@ -65317,7 +65317,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "calc", "valType": "string" } @@ -67155,7 +67155,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -69453,7 +69453,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "calc", "valType": "string" } @@ -71880,7 +71880,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "calc", "valType": "string" } @@ -74213,7 +74213,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "calc", "valType": "string" } @@ -75761,7 +75761,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "calc", "valType": "string" } @@ -77292,7 +77292,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -79563,7 +79563,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "calc", "valType": "string" } @@ -81778,7 +81778,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -84088,7 +84088,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -86329,7 +86329,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -87861,7 +87861,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -89907,7 +89907,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -91202,7 +91202,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "calc", "valType": "string" } @@ -94529,7 +94529,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "colorbars", "valType": "string" } @@ -97578,7 +97578,7 @@ ] }, "text": { - "description": "Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.", + "description": "Sets the title of the color bar.", "editType": "calc", "valType": "string" } From 753858a6984bc0c2f9b949e2cb54b6d506f8565e Mon Sep 17 00:00:00 2001 From: Emily Kellison-Linn <4672118+emilykl@users.noreply.github.com> Date: Mon, 7 Oct 2024 09:59:06 -0400 Subject: [PATCH 07/12] remove test for removed attribute --- test/jasmine/tests/plot_api_test.js | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/test/jasmine/tests/plot_api_test.js b/test/jasmine/tests/plot_api_test.js index 5408eccb8f1..6c0039552c3 100644 --- a/test/jasmine/tests/plot_api_test.js +++ b/test/jasmine/tests/plot_api_test.js @@ -526,32 +526,6 @@ describe('Test plot api', function() { .then(assertSizeAndThen(543, 432, true, 'final back to autosize')) .then(done, done.fail); }); - - it('passes update data back to plotly_relayout unmodified ' + - 'even if deprecated attributes have been used', function(done) { - Plotly.newPlot(gd, [{y: [1, 3, 2]}]) - .then(function() { - gd.on('plotly_relayout', function(eventData) { - expect(eventData).toEqual({ - title: { text: 'Plotly chart' }, - 'xaxis.title': 'X', - 'xaxis.title.font': {color: 'green'}, - 'yaxis.title': 'Y', - 'polar.radialaxis.title': 'Radial' - }); - done(); - }); - - return Plotly.relayout(gd, { - title: { text: 'Plotly chart' }, - 'xaxis.title': 'X', - 'xaxis.title.font': {color: 'green'}, - 'yaxis.title': 'Y', - 'polar.radialaxis.title': 'Radial' - }); - }) - .then(done, done.fail); - }); }); describe('Plotly.relayout subroutines switchboard', function() { From b4d2befb783eaeb23b81eab311878ac1ad91466c Mon Sep 17 00:00:00 2001 From: Emily Kellison-Linn <4672118+emilykl@users.noreply.github.com> Date: Mon, 7 Oct 2024 10:15:19 -0400 Subject: [PATCH 08/12] update jasmine tests --- test/jasmine/tests/funnelarea_test.js | 25 +------------------------ test/jasmine/tests/pie_test.js | 23 ----------------------- test/jasmine/tests/titles_test.js | 17 ----------------- 3 files changed, 1 insertion(+), 64 deletions(-) diff --git a/test/jasmine/tests/funnelarea_test.js b/test/jasmine/tests/funnelarea_test.js index 0136738b848..099eb67b45d 100644 --- a/test/jasmine/tests/funnelarea_test.js +++ b/test/jasmine/tests/funnelarea_test.js @@ -323,7 +323,7 @@ describe('Funnelarea traces', function() { it('shows title top left', function(done) { Plotly.newPlot(gd, [{ values: [3, 2, 1], - title: { text: 'Test
Title', position: 'top center', font: { size: 12 } }, + title: { text: 'Test
Title', position: 'top left', font: { size: 12 } }, type: 'funnelarea', textinfo: 'none' }], {height: 300, width: 300}) @@ -568,29 +568,6 @@ describe('Funnelarea traces', function() { .then(done, done.fail); }); - it('should be able to restyle title despite using the deprecated attributes', function(done) { - Plotly.newPlot(gd, [{ - type: 'funnelarea', - values: [1, 2, 3], - title: { text: 'yo', position: 'top left', font: { color: 'blue' } }, - }]) - .then(function() { - _assertTitle('base', 'yo', 'rgb(0, 0, 255)'); - _verifyTitle(true, false, true, false, false); - - return Plotly.restyle(gd, { - title: { text: 'oy' }, - 'title.font.color': 'red', - 'title.position': 'top right' - }); - }) - .then(function() { - _assertTitle('base', 'oy', 'rgb(255, 0, 0)'); - _verifyTitle(false, true, true, false, false); - }) - .then(done, done.fail); - }); - it('should be able to react with new text colors', function(done) { Plotly.newPlot(gd, [{ type: 'funnelarea', diff --git a/test/jasmine/tests/pie_test.js b/test/jasmine/tests/pie_test.js index 98fa478639f..d1820868f82 100644 --- a/test/jasmine/tests/pie_test.js +++ b/test/jasmine/tests/pie_test.js @@ -786,29 +786,6 @@ describe('Pie traces', function() { .then(done, done.fail); }); - it('should be able to restyle title despite using the deprecated attributes', function(done) { - Plotly.newPlot(gd, [{ - type: 'pie', - values: [1, 2, 3], - title: { text: 'yo', font: { color: 'blue' }, position: 'top left' } - }]) - .then(function() { - _assertTitle('base', 'yo', 'rgb(0, 0, 255)'); - _verifyTitle(true, false, true, false, false); - - return Plotly.restyle(gd, { - title: { text: 'oy' }, - 'title.font.color': 'red', - 'title.position': 'bottom right' - }); - }) - .then(function() { - _assertTitle('base', 'oy', 'rgb(255, 0, 0)'); - _verifyTitle(false, true, false, true, false); - }) - .then(done, done.fail); - }); - it('should be able to react with new text colors', function(done) { Plotly.newPlot(gd, [{ type: 'pie', diff --git a/test/jasmine/tests/titles_test.js b/test/jasmine/tests/titles_test.js index 752fd712b57..839cbdd55b3 100644 --- a/test/jasmine/tests/titles_test.js +++ b/test/jasmine/tests/titles_test.js @@ -619,23 +619,6 @@ describe('Titles can be updated', function() { 'xaxis.title.text': NEW_XTITLE, 'yaxis.title.text': NEW_YTITLE } - }, - { - desc: 'despite passing title only as a string (backwards-compatibility)', - update: { - title: NEW_TITLE, - xaxis: {title: NEW_XTITLE}, - yaxis: {title: NEW_YTITLE} - } - }, - { - desc: 'despite passing title only as a string using string attributes ' + - '(backwards-compatibility)', - update: { - title: NEW_TITLE, - 'xaxis.title': NEW_XTITLE, - 'yaxis.title': NEW_YTITLE - } } ].forEach(function(testCase) { it('via `Plotly.relayout` ' + testCase.desc, function(done) { From c0c64f6883f8c3ca1a1f13a43fab8538c5ac0d49 Mon Sep 17 00:00:00 2001 From: Emily Kellison-Linn <4672118+emilykl@users.noreply.github.com> Date: Mon, 7 Oct 2024 10:37:29 -0400 Subject: [PATCH 09/12] draftlog --- draftlogs/7212_remove.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 draftlogs/7212_remove.md diff --git a/draftlogs/7212_remove.md b/draftlogs/7212_remove.md new file mode 100644 index 00000000000..54d8ff18561 --- /dev/null +++ b/draftlogs/7212_remove.md @@ -0,0 +1 @@ +- Drop support for passing a string to the `title` attribute, and drop support for deprecated attributes `titlefont`, `titleposition`, `titleside`, and `titleoffset` [[#7212](https://github.com/plotly/plotly.js/pull/7212)] \ No newline at end of file From e948ff49be6140bc2beace0ff6c1cc29e543b990 Mon Sep 17 00:00:00 2001 From: Emily Kellison-Linn <4672118+emilykl@users.noreply.github.com> Date: Mon, 7 Oct 2024 11:07:22 -0400 Subject: [PATCH 10/12] fix test --- test/jasmine/tests/funnelarea_test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/jasmine/tests/funnelarea_test.js b/test/jasmine/tests/funnelarea_test.js index 099eb67b45d..078a29f8f9b 100644 --- a/test/jasmine/tests/funnelarea_test.js +++ b/test/jasmine/tests/funnelarea_test.js @@ -345,7 +345,7 @@ describe('Funnelarea traces', function() { it('correctly positions large title', function(done) { Plotly.newPlot(gd, [{ values: [1, 3, 4, 1, 2], - title: { text: 'Test
Title', position: 'top center', size: 60 }, + title: { text: 'Test
Title', position: 'top center', font: { size: 60 } }, type: 'funnelarea', textinfo: 'none' }], {height: 300, width: 300}) From cc5b9f964c9367083d335b7ae82b9d9f1d9815d7 Mon Sep 17 00:00:00 2001 From: Emily Kellison-Linn <4672118+emilykl@users.noreply.github.com> Date: Mon, 7 Oct 2024 16:37:55 -0400 Subject: [PATCH 11/12] remove empty '_deprecated' keys --- src/components/colorbar/attributes.js | 3 --- src/plots/gl3d/layout/axis_attributes.js | 2 -- src/plots/layout_attributes.js | 2 -- src/plots/polar/layout_attributes.js | 3 --- src/plots/ternary/layout_attributes.js | 2 -- src/traces/carpet/axis_attributes.js | 4 ---- src/traces/pie/attributes.js | 3 --- 7 files changed, 19 deletions(-) diff --git a/src/components/colorbar/attributes.js b/src/components/colorbar/attributes.js index 0557fa778d0..3a562b516a0 100644 --- a/src/components/colorbar/attributes.js +++ b/src/components/colorbar/attributes.js @@ -228,7 +228,4 @@ module.exports = overrideAll({ ].join(' ') } }, - - _deprecated: { - } }, 'colorbars', 'from-root'); diff --git a/src/plots/gl3d/layout/axis_attributes.js b/src/plots/gl3d/layout/axis_attributes.js index 3ec341d7fac..b501c570575 100644 --- a/src/plots/gl3d/layout/axis_attributes.js +++ b/src/plots/gl3d/layout/axis_attributes.js @@ -121,6 +121,4 @@ module.exports = overrideAll({ zeroline: axesAttrs.zeroline, zerolinecolor: axesAttrs.zerolinecolor, zerolinewidth: axesAttrs.zerolinewidth, - _deprecated: { - } }, 'plot', 'from-root'); diff --git a/src/plots/layout_attributes.js b/src/plots/layout_attributes.js index f7c85200239..60540e53b94 100644 --- a/src/plots/layout_attributes.js +++ b/src/plots/layout_attributes.js @@ -451,6 +451,4 @@ module.exports = { ].join(' '), editType: 'none' }), - _deprecated: { - } }; diff --git a/src/plots/polar/layout_attributes.js b/src/plots/polar/layout_attributes.js index d82f63b5ded..052749af701 100644 --- a/src/plots/polar/layout_attributes.js +++ b/src/plots/polar/layout_attributes.js @@ -146,9 +146,6 @@ var radialAxisAttrs = { }, editType: 'calc', - - _deprecated: { - } }; extendFlat( diff --git a/src/plots/ternary/layout_attributes.js b/src/plots/ternary/layout_attributes.js index 8cadef32ccf..abc6fe29f6f 100644 --- a/src/plots/ternary/layout_attributes.js +++ b/src/plots/ternary/layout_attributes.js @@ -62,8 +62,6 @@ var ternaryAxesAttrs = { 'all the minima set to zero.' ].join(' ') }, - _deprecated: { - } }; var attrs = module.exports = overrideAll({ diff --git a/src/traces/carpet/axis_attributes.js b/src/traces/carpet/axis_attributes.js index e79b37fc599..688f1a11a50 100644 --- a/src/traces/carpet/axis_attributes.js +++ b/src/traces/carpet/axis_attributes.js @@ -451,9 +451,5 @@ module.exports = { editType: 'calc', description: 'The stride between grid lines along the axis' }, - - _deprecated: { - }, - editType: 'calc' }; diff --git a/src/traces/pie/attributes.js b/src/traces/pie/attributes.js index af9dcc5b1c6..cd1c657346f 100644 --- a/src/traces/pie/attributes.js +++ b/src/traces/pie/attributes.js @@ -292,7 +292,4 @@ module.exports = { 'or an array to highlight one or more slices.' ].join(' ') }, - - _deprecated: { - } }; From 26129d9a28ba9fb0ae4fa2fb23051525ca9167ef Mon Sep 17 00:00:00 2001 From: Emily Kellison-Linn <4672118+emilykl@users.noreply.github.com> Date: Mon, 7 Oct 2024 16:42:49 -0400 Subject: [PATCH 12/12] update plot-schema --- test/plot-schema.json | 51 ------------------------------------------- 1 file changed, 51 deletions(-) diff --git a/test/plot-schema.json b/test/plot-schema.json index 4588dba289b..5da519ce5b2 100644 --- a/test/plot-schema.json +++ b/test/plot-schema.json @@ -596,7 +596,6 @@ }, "layout": { "layoutAttributes": { - "_deprecated": {}, "activeselection": { "editType": "none", "fillcolor": { @@ -1232,7 +1231,6 @@ "valType": "number" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -5641,7 +5639,6 @@ "valType": "number" }, "radialaxis": { - "_deprecated": {}, "angle": { "description": "Sets the angle (in degrees) from which the radial axis is drawn. Note that by default, radial axis line on the theta=0 line corresponds to a line pointing right (like what mathematicians prefer). Defaults to the first `polar.sector` angle.", "editType": "plot", @@ -7079,7 +7076,6 @@ "valType": "any" }, "xaxis": { - "_deprecated": {}, "autorange": { "description": "Determines whether or not the range of this axis is computed in relation to the input data. See `rangemode` for more info. If `range` is provided and it has a value for both the lower and upper bound, `autorange` is set to *false*. Using *min* applies autorange only to set the minimum. Using *max* applies autorange only to set the maximum. Using *min reversed* applies autorange only to set the minimum on a reversed axis. Using *max reversed* applies autorange only to set the maximum on a reversed axis. Using *reversed* applies autorange on both ends and reverses the axis direction.", "dflt": true, @@ -7819,7 +7815,6 @@ } }, "yaxis": { - "_deprecated": {}, "autorange": { "description": "Determines whether or not the range of this axis is computed in relation to the input data. See `rangemode` for more info. If `range` is provided and it has a value for both the lower and upper bound, `autorange` is set to *false*. Using *min* applies autorange only to set the minimum. Using *max* applies autorange only to set the maximum. Using *min reversed* applies autorange only to set the minimum on a reversed axis. Using *max reversed* applies autorange only to set the maximum on a reversed axis. Using *reversed* applies autorange on both ends and reverses the axis direction.", "dflt": true, @@ -8559,7 +8554,6 @@ } }, "zaxis": { - "_deprecated": {}, "autorange": { "description": "Determines whether or not the range of this axis is computed in relation to the input data. See `rangemode` for more info. If `range` is provided and it has a value for both the lower and upper bound, `autorange` is set to *false*. Using *min* applies autorange only to set the minimum. Using *max* applies autorange only to set the maximum. Using *min reversed* applies autorange only to set the minimum on a reversed axis. Using *max reversed* applies autorange only to set the maximum on a reversed axis. Using *reversed* applies autorange on both ends and reverses the axis direction.", "dflt": true, @@ -11105,7 +11099,6 @@ "ternary": { "_isSubplotObj": true, "aaxis": { - "_deprecated": {}, "color": { "description": "Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this.", "dflt": "#444", @@ -11619,7 +11612,6 @@ } }, "baxis": { - "_deprecated": {}, "color": { "description": "Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this.", "dflt": "#444", @@ -12139,7 +12131,6 @@ "valType": "color" }, "caxis": { - "_deprecated": {}, "color": { "description": "Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this.", "dflt": "#444", @@ -17104,7 +17095,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -19148,7 +19138,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -22522,7 +22511,6 @@ "valType": "number" }, "aaxis": { - "_deprecated": {}, "arraydtick": { "description": "The stride between grid lines along the axis", "dflt": 1, @@ -23194,7 +23182,6 @@ "valType": "number" }, "baxis": { - "_deprecated": {}, "arraydtick": { "description": "The stride between grid lines along the axis", "dflt": 1, @@ -24251,7 +24238,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -25549,7 +25535,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -26837,7 +26822,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -28164,7 +28148,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -29510,7 +29493,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -31338,7 +31320,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -32565,7 +32546,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -33791,7 +33771,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -35679,7 +35658,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -38313,7 +38291,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -39856,7 +39833,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -41942,7 +41918,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -43399,7 +43374,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -44908,7 +44882,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -47280,7 +47253,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -50655,7 +50627,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -52176,7 +52147,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -54783,7 +54753,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -56077,7 +56046,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -57063,7 +57031,6 @@ "pie": { "animatable": false, "attributes": { - "_deprecated": {}, "automargin": { "description": "Determines whether outside text labels can push the margins.", "dflt": false, @@ -61409,7 +61376,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -64071,7 +64037,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -64781,7 +64746,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -66619,7 +66583,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -68917,7 +68880,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -71344,7 +71306,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -73677,7 +73638,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -75225,7 +75185,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -76756,7 +76715,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -79027,7 +78985,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -81242,7 +81199,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -83552,7 +83508,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -85793,7 +85748,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -87325,7 +87279,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -89371,7 +89324,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -90666,7 +90618,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -93993,7 +93944,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)", @@ -97042,7 +96992,6 @@ "valType": "subplotid" }, "colorbar": { - "_deprecated": {}, "bgcolor": { "description": "Sets the color of padded area.", "dflt": "rgba(0,0,0,0)",