diff --git a/src/components/annotations/attributes.js b/src/components/annotations/attributes.js index 45005977486..9dfb760d681 100644 --- a/src/components/annotations/attributes.js +++ b/src/components/annotations/attributes.js @@ -49,9 +49,9 @@ module.exports = templatedArray('annotation', { description: [ 'Sets the text associated with this annotation.', 'Plotly uses a subset of HTML tags to do things like', - 'newline (
), bold (), italics (),', - 'hyperlinks (). Tags , , , , ', - ' are also supported.' + 'newline (`
`), bold (``), italics (``),', + 'hyperlinks (``). Tags ``, ``,', + '``, ``, ``, and `` are also supported.' ].join(' ') }, textangle: { diff --git a/src/components/errorbars/attributes.js b/src/components/errorbars/attributes.js index d564fe00562..bd57eb82e40 100644 --- a/src/components/errorbars/attributes.js +++ b/src/components/errorbars/attributes.js @@ -16,7 +16,7 @@ module.exports = { description: [ 'Determines the rule used to generate the error bars.', - 'If *constant`, the bar lengths are of a constant value.', + 'If *constant*, the bar lengths are of a constant value.', 'Set this constant in `value`.', 'If *percent*, the bar lengths correspond to a percentage of', diff --git a/src/plots/cartesian/layout_attributes.js b/src/plots/cartesian/layout_attributes.js index f1b7bbbe5d6..6da72f41787 100644 --- a/src/plots/cartesian/layout_attributes.js +++ b/src/plots/cartesian/layout_attributes.js @@ -334,7 +334,7 @@ module.exports = { description: [ 'If *normal*, the range is computed in relation to the extrema', 'of the input data.', - 'If *tozero*`, the range extends to 0,', + 'If *tozero*, the range extends to 0,', 'regardless of the input data', 'If *nonnegative*, the range is non-negative,', 'regardless of the input data.', diff --git a/src/plots/polar/layout_attributes.js b/src/plots/polar/layout_attributes.js index 052749af701..66be8789586 100644 --- a/src/plots/polar/layout_attributes.js +++ b/src/plots/polar/layout_attributes.js @@ -73,7 +73,7 @@ var radialAxisAttrs = { dflt: 'tozero', editType: 'calc', description: [ - 'If *tozero*`, the range extends to 0,', + 'If *tozero*, the range extends to 0,', 'regardless of the input data', 'If *nonnegative*, the range is non-negative,', 'regardless of the input data.', diff --git a/src/plots/template_attributes.js b/src/plots/template_attributes.js index 9f01f920688..1daa3f77edd 100644 --- a/src/plots/template_attributes.js +++ b/src/plots/template_attributes.js @@ -75,7 +75,7 @@ exports.hovertemplateAttrs = function(opts, extra) { 'The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data.', 'Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available.', descPart, - 'Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}".', + 'Anything contained in tag `` is displayed in the secondary box, for example `%{fullData.name}`.', 'To hide the secondary box completely, use an empty tag ``.' ].join(' ') }; diff --git a/src/traces/carpet/axis_attributes.js b/src/traces/carpet/axis_attributes.js index 688f1a11a50..dc84fba4c32 100644 --- a/src/traces/carpet/axis_attributes.js +++ b/src/traces/carpet/axis_attributes.js @@ -86,7 +86,7 @@ module.exports = { description: [ 'If *normal*, the range is computed in relation to the extrema', 'of the input data.', - 'If *tozero*`, the range extends to 0,', + 'If *tozero*, the range extends to 0,', 'regardless of the input data', 'If *nonnegative*, the range is non-negative,', 'regardless of the input data.' diff --git a/src/traces/contour/attributes.js b/src/traces/contour/attributes.js index 3562a98c641..191cfa7f17c 100644 --- a/src/traces/contour/attributes.js +++ b/src/traces/contour/attributes.js @@ -226,11 +226,11 @@ module.exports = extendFlat({ 'Sets the value or values of the constraint boundary.', 'When `operation` is set to one of the comparison values', - '(' + COMPARISON_OPS2 + ')', + '(`' + COMPARISON_OPS2 + '`)', '*value* is expected to be a number.', 'When `operation` is set to one of the interval values', - '(' + INTERVAL_OPS + ')', + '(`' + INTERVAL_OPS + '`)', '*value* is expected to be an array of two numbers where the first', 'is the lower bound and the second is the upper bound.', ].join(' ')