Skip to content

Carpet

Overview

The carpet trace type is used to create carpet plots, which can be useful for visualizing data across irregular spaces or non-grid-like arrangements. Carpet plots are commonly employed in complex datasets that span two independent variables, such as pressure and temperature or other bivariate datasets.

Carpet traces provide you with control over the X and Y axes, as well as customization of the A and B axes (the independent variables). You can also use a variety of formatting options, including line, color, and axis ticks to enhance the visualization.

Common Uses

  • Distortion Analysis: Visualizing data across irregular spaces, such as in physics or engineering.
  • Bivariate Data Visualization: Displaying complex relationships between two independent variables.
  • Gridless Data Representation: Visualizing data that doesn't fit neatly into grid-like structures.

Check out the Attributes for the full set of configuration options

Examples

Common Configurations

Here's a simple(ish) carpet plot showing data across two independent variables (A and B):

You can copy this code below to create this chart in your project:

models:
  - name: carpet-data-axes
    args:
      - echo
      - |
        a,b,x,y
        1,5,2,3
        2,6,3,4
        3,7,4,5
        4,8,5,6
        5,9,6,7
traces:
  - name: Carpet Plot with Custom Axes
    model: ${ref(carpet-data-axes)}
    props:
      type: carpet
      a: ?{a}
      b: ?{b}
      y: ?{y}
      aaxis:
        title:
          text: "Custom A Axis"
        tickprefix: "A-"
      baxis:
        title:
          text: "Custom B Axis"
        tickprefix: "B-"
charts:
  - name: Simple Carpet Chart
    traces:
      - ${ref(Carpet Plot with Custom Axes)}
    layout:
      title:
        text: Carpet Plot with Custom Axes<br><sub>With Customized A and B Axes</sub>
      xaxis:
        title:
          text: "X Axis"
      yaxis:
        title:
          text: "Y Axis"
      margin: 
        b: 0
        r: 70
        l: 70
        t: 50

A schema to validate plotly trace properties

Attributes

These attributes apply to traces where trace.props.type is set to carpet. You would configure these attributes on the trace with the trace.props object.

a: 'array' #(1)!
a0: 'number' #(2)!
aaxis:
  arraydtick: 'integer' #(3)!
  arraytick0: 'integer' #(4)!
  autorange: 'any' #(5)!
  autotypenumbers: 'any' #(6)!
  categoryarray: 'array' #(7)!
  categoryarraysrc: 'string' #(8)!
  categoryorder: 'any' #(9)!
  cheatertype: any
  color: 'any' #(10)!
  dtick: 'number' #(11)!
  endline: 'boolean' #(12)!
  endlinecolor: 'any' #(13)!
  endlinewidth: 'number' #(14)!
  exponentformat: 'any' #(15)!
  fixedrange: 'boolean' #(16)!
  gridcolor: 'any' #(17)!
  griddash: 'string' #(18)!
  gridwidth: 'number' #(19)!
  labelpadding: 'integer' #(20)!
  labelprefix: 'string' #(21)!
  labelsuffix: 'string' #(22)!
  linecolor: 'any' #(23)!
  linewidth: 'number' #(24)!
  minexponent: 'number' #(25)!
  minorgridcolor: 'any' #(26)!
  minorgridcount: 'integer' #(27)!
  minorgriddash: 'string' #(28)!
  minorgridwidth: 'number' #(29)!
  nticks: 'integer' #(30)!
  range: 'array' #(31)!
  rangemode: 'any' #(32)!
  separatethousands: 'boolean' #(33)!
  showexponent: 'any' #(34)!
  showgrid: 'boolean' #(35)!
  showline: 'boolean' #(36)!
  showticklabels: 'any' #(37)!
  showtickprefix: 'any' #(38)!
  showticksuffix: 'any' #(39)!
  smoothing: number
  startline: 'boolean' #(40)!
  startlinecolor: 'any' #(41)!
  startlinewidth: 'number' #(42)!
  tick0: 'number' #(43)!
  tickangle: 'number' #(44)!
  tickfont:
    color: any
    family: 'string' #(45)!
    lineposition: 'string' #(46)!
    shadow: 'string' #(47)!
    size: number
    style: 'any' #(48)!
    textcase: 'any' #(49)!
    variant: 'any' #(50)!
    weight: 'integer' #(51)!
  tickformat: 'string' #(52)!
  tickformatstops: array
  tickmode: any
  tickprefix: 'string' #(53)!
  ticksuffix: 'string' #(54)!
  ticktext: 'array' #(55)!
  ticktextsrc: 'string' #(56)!
  tickvals: 'array' #(57)!
  tickvalssrc: 'string' #(58)!
  title:
    font:
      color: any
      family: 'string' #(59)!
      lineposition: 'string' #(60)!
      shadow: 'string' #(61)!
      size: number
      style: 'any' #(62)!
      textcase: 'any' #(63)!
      variant: 'any' #(64)!
      weight: 'integer' #(65)!
    offset: 'number' #(66)!
    text: 'string' #(67)!
  type: 'any' #(68)!
asrc: 'string' #(69)!
b: 'array' #(70)!
b0: 'number' #(71)!
baxis:
  arraydtick: 'integer' #(72)!
  arraytick0: 'integer' #(73)!
  autorange: 'any' #(74)!
  autotypenumbers: 'any' #(75)!
  categoryarray: 'array' #(76)!
  categoryarraysrc: 'string' #(77)!
  categoryorder: 'any' #(78)!
  cheatertype: any
  color: 'any' #(79)!
  dtick: 'number' #(80)!
  endline: 'boolean' #(81)!
  endlinecolor: 'any' #(82)!
  endlinewidth: 'number' #(83)!
  exponentformat: 'any' #(84)!
  fixedrange: 'boolean' #(85)!
  gridcolor: 'any' #(86)!
  griddash: 'string' #(87)!
  gridwidth: 'number' #(88)!
  labelpadding: 'integer' #(89)!
  labelprefix: 'string' #(90)!
  labelsuffix: 'string' #(91)!
  linecolor: 'any' #(92)!
  linewidth: 'number' #(93)!
  minexponent: 'number' #(94)!
  minorgridcolor: 'any' #(95)!
  minorgridcount: 'integer' #(96)!
  minorgriddash: 'string' #(97)!
  minorgridwidth: 'number' #(98)!
  nticks: 'integer' #(99)!
  range: 'array' #(100)!
  rangemode: 'any' #(101)!
  separatethousands: 'boolean' #(102)!
  showexponent: 'any' #(103)!
  showgrid: 'boolean' #(104)!
  showline: 'boolean' #(105)!
  showticklabels: 'any' #(106)!
  showtickprefix: 'any' #(107)!
  showticksuffix: 'any' #(108)!
  smoothing: number
  startline: 'boolean' #(109)!
  startlinecolor: 'any' #(110)!
  startlinewidth: 'number' #(111)!
  tick0: 'number' #(112)!
  tickangle: 'number' #(113)!
  tickfont:
    color: any
    family: 'string' #(114)!
    lineposition: 'string' #(115)!
    shadow: 'string' #(116)!
    size: number
    style: 'any' #(117)!
    textcase: 'any' #(118)!
    variant: 'any' #(119)!
    weight: 'integer' #(120)!
  tickformat: 'string' #(121)!
  tickformatstops: array
  tickmode: any
  tickprefix: 'string' #(122)!
  ticksuffix: 'string' #(123)!
  ticktext: 'array' #(124)!
  ticktextsrc: 'string' #(125)!
  tickvals: 'array' #(126)!
  tickvalssrc: 'string' #(127)!
  title:
    font:
      color: any
      family: 'string' #(128)!
      lineposition: 'string' #(129)!
      shadow: 'string' #(130)!
      size: number
      style: 'any' #(131)!
      textcase: 'any' #(132)!
      variant: 'any' #(133)!
      weight: 'integer' #(134)!
    offset: 'number' #(135)!
    text: 'string' #(136)!
  type: 'any' #(137)!
bsrc: 'string' #(138)!
carpet: 'string' #(139)!
cheaterslope: 'number' #(140)!
color: 'any' #(141)!
customdata: 'array' #(142)!
customdatasrc: 'string' #(143)!
da: 'number' #(144)!
db: 'number' #(145)!
font:
  color: any
  family: 'string' #(146)!
  lineposition: 'string' #(147)!
  shadow: 'string' #(148)!
  size: number
  style: 'any' #(149)!
  textcase: 'any' #(150)!
  variant: 'any' #(151)!
  weight: 'integer' #(152)!
ids: 'array' #(153)!
idssrc: 'string' #(154)!
legend: 'string' #(155)!
legendgrouptitle:
  font:
    color: any
    family: 'string' #(156)!
    lineposition: 'string' #(157)!
    shadow: 'string' #(158)!
    size: number
    style: 'any' #(159)!
    textcase: 'any' #(160)!
    variant: 'any' #(161)!
    weight: 'integer' #(162)!
  text: 'string' #(163)!
legendrank: 'number' #(164)!
legendwidth: 'number' #(165)!
metasrc: 'string' #(166)!
name: 'string' #(167)!
opacity: 'number' #(168)!
stream:
  maxpoints: 'number' #(169)!
  token: 'string' #(170)!
type: carpet
uid: 'string' #(171)!
visible: 'any' #(172)!
x: 'array' #(173)!
xaxis: 'string' #(174)!
xsrc: 'string' #(175)!
y: 'array' #(176)!
yaxis: 'string' #(177)!
ysrc: 'string' #(178)!
zorder: 'integer' #(179)!
  1. An array containing values of the first parameter value
  2. Alternate to a. Builds a linear space of a coordinates. Use with da where a0 is the starting coordinate and da the step.
  3. The stride between grid lines along the axis
  4. The starting index of grid lines along the axis
  5. 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, then autorange is set to false.
  6. Using strict a numeric string in trace data is not converted to a number. Using convert types a numeric string in trace data may be treated as a number during automatic axis type detection. Defaults to layout.autotypenumbers.
  7. Sets the order in which categories on this axis appear. Only has an effect if categoryorder is set to array. Used with categoryorder.
  8. Sets the source reference on Chart Studio Cloud for categoryarray.
  9. Specifies the ordering logic for the case of categorical variables. By default, plotly uses trace, which specifies the order that is present in the data supplied. Set categoryorder to category ascending or category descending if order should be determined by the alphanumerical order of the category names. Set categoryorder to array to derive the ordering from the attribute categoryarray. If a category is not found in the categoryarray array, the sorting behavior for that attribute will be identical to the trace mode. The unspecified categories will follow the categories in categoryarray.
  10. 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.
  11. The stride between grid lines along the axis
  12. Determines whether or not a line is drawn at along the final value of this axis. If true, the end line is drawn on top of the grid lines.
  13. Sets the line color of the end line.
  14. Sets the width (in px) of the end line.
  15. Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If none, it appears as 1,000,000,000. If e, 1e+9. If E, 1E+9. If power, 1x10^9 (with 9 in a super script). If SI, 1G. If B, 1B.
  16. Determines whether or not this axis is zoom-able. If true, then zoom is disabled.
  17. Sets the axis line color.
  18. Sets the dash style of lines. Set to a dash type string (solid, dot, dash, longdash, dashdot, or longdashdot) or a dash length list in px (eg 5px,10px,2px,2px).
  19. Sets the width (in px) of the axis line.
  20. Extra padding between label and the axis
  21. Sets a axis label prefix.
  22. Sets a axis label suffix.
  23. Sets the axis line color.
  24. Sets the width (in px) of the axis line.
  25. Hide SI prefix for 10^n if |n| is below this number
  26. Sets the color of the grid lines.
  27. Sets the number of minor grid ticks per major grid tick
  28. Sets the dash style of lines. Set to a dash type string (solid, dot, dash, longdash, dashdot, or longdashdot) or a dash length list in px (eg 5px,10px,2px,2px).
  29. Sets the width (in px) of the grid lines.
  30. Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to nticks. Has an effect only if tickmode is set to auto.
  31. Sets the range of this axis. If the axis type is log, then you must take the log of your desired range (e.g. to set the range from 1 to 100, set the range from 0 to 2). If the axis type is date, it should be date strings, like date data, though Date objects and unix milliseconds will be accepted and converted to strings. If the axis type is category, it should be numbers, using the scale where each category is assigned a serial number from zero in the order it appears.
  32. If normal, the range is computed in relation to the extrema of the input data. If tozero`, the range extends to 0, regardless of the input data If nonnegative, the range is non-negative, regardless of the input data.
  33. If "true", even 4-digit integers are separated
  34. If all, all exponents are shown besides their significands. If first, only the exponent of the first tick is shown. If last, only the exponent of the last tick is shown. If none, no exponents appear.
  35. Determines whether or not grid lines are drawn. If true, the grid lines are drawn at every tick mark.
  36. Determines whether or not a line bounding this axis is drawn.
  37. Determines whether axis labels are drawn on the low side, the high side, both, or neither side of the axis.
  38. If all, all tick labels are displayed with a prefix. If first, only the first tick is displayed with a prefix. If last, only the last tick is displayed with a suffix. If none, tick prefixes are hidden.
  39. Same as showtickprefix but for tick suffixes.
  40. Determines whether or not a line is drawn at along the starting value of this axis. If true, the start line is drawn on top of the grid lines.
  41. Sets the line color of the start line.
  42. Sets the width (in px) of the start line.
  43. The starting index of grid lines along the axis
  44. Sets the angle of the tick labels with respect to the horizontal. For example, a tickangle of -90 draws the tick labels vertically.
  45. HTML font family - the typeface that will be applied by the web browser. The web browser can only apply a font if it is available on the system where it runs. Provide multiple font families, separated by commas, to indicate the order in which to apply fonts if they aren't available.
  46. 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.
  47. 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.
  48. Sets whether a font should be styled with a normal or italic face from its family.
  49. Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
  50. Sets the variant of the font.
  51. Sets the weight (or boldness) of the font.
  52. Sets the tick label formatting rule using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for dates see: https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format. We add two items to d3's date formatter: %h for half of the year as a decimal number as well as %{n}f for fractional seconds with n digits. For example, 2016-10-13 09:15:23.456 with tickformat %H~%M~%S.%2f would display 09~15~23.46
  53. Sets a tick label prefix.
  54. Sets a tick label suffix.
  55. Sets the text displayed at the ticks position via tickvals. Only has an effect if tickmode is set to array. Used with tickvals.
  56. Sets the source reference on Chart Studio Cloud for ticktext.
  57. Sets the values at which ticks on this axis appear. Only has an effect if tickmode is set to array. Used with ticktext.
  58. Sets the source reference on Chart Studio Cloud for tickvals.
  59. HTML font family - the typeface that will be applied by the web browser. The web browser can only apply a font if it is available on the system where it runs. Provide multiple font families, separated by commas, to indicate the order in which to apply fonts if they aren't available.
  60. 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.
  61. 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.
  62. Sets whether a font should be styled with a normal or italic face from its family.
  63. Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
  64. Sets the variant of the font.
  65. Sets the weight (or boldness) of the font.
  66. An additional amount by which to offset the title from the tick labels, given in pixels.
  67. Sets the title of this axis.
  68. Sets the axis type. By default, plotly attempts to determined the axis type by looking into the data of the traces that referenced the axis in question.
  69. Sets the source reference on Chart Studio Cloud for a.
  70. A two dimensional array of y coordinates at each carpet point.
  71. Alternate to b. Builds a linear space of a coordinates. Use with db where b0 is the starting coordinate and db the step.
  72. The stride between grid lines along the axis
  73. The starting index of grid lines along the axis
  74. 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, then autorange is set to false.
  75. Using strict a numeric string in trace data is not converted to a number. Using convert types a numeric string in trace data may be treated as a number during automatic axis type detection. Defaults to layout.autotypenumbers.
  76. Sets the order in which categories on this axis appear. Only has an effect if categoryorder is set to array. Used with categoryorder.
  77. Sets the source reference on Chart Studio Cloud for categoryarray.
  78. Specifies the ordering logic for the case of categorical variables. By default, plotly uses trace, which specifies the order that is present in the data supplied. Set categoryorder to category ascending or category descending if order should be determined by the alphanumerical order of the category names. Set categoryorder to array to derive the ordering from the attribute categoryarray. If a category is not found in the categoryarray array, the sorting behavior for that attribute will be identical to the trace mode. The unspecified categories will follow the categories in categoryarray.
  79. 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.
  80. The stride between grid lines along the axis
  81. Determines whether or not a line is drawn at along the final value of this axis. If true, the end line is drawn on top of the grid lines.
  82. Sets the line color of the end line.
  83. Sets the width (in px) of the end line.
  84. Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If none, it appears as 1,000,000,000. If e, 1e+9. If E, 1E+9. If power, 1x10^9 (with 9 in a super script). If SI, 1G. If B, 1B.
  85. Determines whether or not this axis is zoom-able. If true, then zoom is disabled.
  86. Sets the axis line color.
  87. Sets the dash style of lines. Set to a dash type string (solid, dot, dash, longdash, dashdot, or longdashdot) or a dash length list in px (eg 5px,10px,2px,2px).
  88. Sets the width (in px) of the axis line.
  89. Extra padding between label and the axis
  90. Sets a axis label prefix.
  91. Sets a axis label suffix.
  92. Sets the axis line color.
  93. Sets the width (in px) of the axis line.
  94. Hide SI prefix for 10^n if |n| is below this number
  95. Sets the color of the grid lines.
  96. Sets the number of minor grid ticks per major grid tick
  97. Sets the dash style of lines. Set to a dash type string (solid, dot, dash, longdash, dashdot, or longdashdot) or a dash length list in px (eg 5px,10px,2px,2px).
  98. Sets the width (in px) of the grid lines.
  99. Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to nticks. Has an effect only if tickmode is set to auto.
  100. Sets the range of this axis. If the axis type is log, then you must take the log of your desired range (e.g. to set the range from 1 to 100, set the range from 0 to 2). If the axis type is date, it should be date strings, like date data, though Date objects and unix milliseconds will be accepted and converted to strings. If the axis type is category, it should be numbers, using the scale where each category is assigned a serial number from zero in the order it appears.
  101. If normal, the range is computed in relation to the extrema of the input data. If tozero`, the range extends to 0, regardless of the input data If nonnegative, the range is non-negative, regardless of the input data.
  102. If "true", even 4-digit integers are separated
  103. If all, all exponents are shown besides their significands. If first, only the exponent of the first tick is shown. If last, only the exponent of the last tick is shown. If none, no exponents appear.
  104. Determines whether or not grid lines are drawn. If true, the grid lines are drawn at every tick mark.
  105. Determines whether or not a line bounding this axis is drawn.
  106. Determines whether axis labels are drawn on the low side, the high side, both, or neither side of the axis.
  107. If all, all tick labels are displayed with a prefix. If first, only the first tick is displayed with a prefix. If last, only the last tick is displayed with a suffix. If none, tick prefixes are hidden.
  108. Same as showtickprefix but for tick suffixes.
  109. Determines whether or not a line is drawn at along the starting value of this axis. If true, the start line is drawn on top of the grid lines.
  110. Sets the line color of the start line.
  111. Sets the width (in px) of the start line.
  112. The starting index of grid lines along the axis
  113. Sets the angle of the tick labels with respect to the horizontal. For example, a tickangle of -90 draws the tick labels vertically.
  114. HTML font family - the typeface that will be applied by the web browser. The web browser can only apply a font if it is available on the system where it runs. Provide multiple font families, separated by commas, to indicate the order in which to apply fonts if they aren't available.
  115. 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.
  116. 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.
  117. Sets whether a font should be styled with a normal or italic face from its family.
  118. Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
  119. Sets the variant of the font.
  120. Sets the weight (or boldness) of the font.
  121. Sets the tick label formatting rule using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for dates see: https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format. We add two items to d3's date formatter: %h for half of the year as a decimal number as well as %{n}f for fractional seconds with n digits. For example, 2016-10-13 09:15:23.456 with tickformat %H~%M~%S.%2f would display 09~15~23.46
  122. Sets a tick label prefix.
  123. Sets a tick label suffix.
  124. Sets the text displayed at the ticks position via tickvals. Only has an effect if tickmode is set to array. Used with tickvals.
  125. Sets the source reference on Chart Studio Cloud for ticktext.
  126. Sets the values at which ticks on this axis appear. Only has an effect if tickmode is set to array. Used with ticktext.
  127. Sets the source reference on Chart Studio Cloud for tickvals.
  128. HTML font family - the typeface that will be applied by the web browser. The web browser can only apply a font if it is available on the system where it runs. Provide multiple font families, separated by commas, to indicate the order in which to apply fonts if they aren't available.
  129. 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.
  130. 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.
  131. Sets whether a font should be styled with a normal or italic face from its family.
  132. Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
  133. Sets the variant of the font.
  134. Sets the weight (or boldness) of the font.
  135. An additional amount by which to offset the title from the tick labels, given in pixels.
  136. Sets the title of this axis.
  137. Sets the axis type. By default, plotly attempts to determined the axis type by looking into the data of the traces that referenced the axis in question.
  138. Sets the source reference on Chart Studio Cloud for b.
  139. An identifier for this carpet, so that scattercarpet and contourcarpet traces can specify a carpet plot on which they lie
  140. The shift applied to each successive row of data in creating a cheater plot. Only used if x is been omitted.
  141. 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.
  142. Assigns extra data each datum. This may be useful when listening to hover, click and selection events. Note that, scatter traces also appends customdata items in the markers DOM elements
  143. Sets the source reference on Chart Studio Cloud for customdata.
  144. Sets the a coordinate step. See a0 for more info.
  145. Sets the b coordinate step. See b0 for more info.
  146. HTML font family - the typeface that will be applied by the web browser. The web browser can only apply a font if it is available on the system where it runs. Provide multiple font families, separated by commas, to indicate the order in which to apply fonts if they aren't available.
  147. 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.
  148. 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.
  149. Sets whether a font should be styled with a normal or italic face from its family.
  150. Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
  151. Sets the variant of the font.
  152. Sets the weight (or boldness) of the font.
  153. Assigns id labels to each datum. These ids for object constancy of data points during animation. Should be an array of strings, not numbers or any other type.
  154. Sets the source reference on Chart Studio Cloud for ids.
  155. Sets the reference to a legend to show this trace in. References to these legends are legend, legend2, legend3, etc. Settings for these legends are set in the layout, under layout.legend, layout.legend2, etc.
  156. HTML font family - the typeface that will be applied by the web browser. The web browser can only apply a font if it is available on the system where it runs. Provide multiple font families, separated by commas, to indicate the order in which to apply fonts if they aren't available.
  157. 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.
  158. 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.
  159. Sets whether a font should be styled with a normal or italic face from its family.
  160. Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
  161. Sets the variant of the font.
  162. Sets the weight (or boldness) of the font.
  163. Sets the title of the legend group.
  164. Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with reversed legend.traceorder they are on bottom/right side. The default legendrank is 1000, so that you can use ranks less than 1000 to place certain items before all unranked items, and ranks greater than 1000 to go after all unranked items. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout.
  165. Sets the width (in px or fraction) of the legend for this trace.
  166. Sets the source reference on Chart Studio Cloud for meta.
  167. Sets the trace name. The trace name appears as the legend item and on hover.
  168. Sets the opacity of the trace.
  169. Sets the maximum number of points to keep on the plots from an incoming stream. If maxpoints is set to 50, only the newest 50 points will be displayed on the plot.
  170. The stream id number links a data trace on a plot with a stream. See https://chart-studio.plotly.com/settings for more details.
  171. Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions.
  172. Determines whether or not this trace is visible. If legendonly, the trace is not drawn, but can appear as a legend item (provided that the legend itself is visible).
  173. A two dimensional array of x coordinates at each carpet point. If omitted, the plot is a cheater plot and the xaxis is hidden by default.
  174. Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If x (the default value), the x coordinates refer to layout.xaxis. If x2, the x coordinates refer to layout.xaxis2, and so on.
  175. Sets the source reference on Chart Studio Cloud for x.
  176. A two dimensional array of y coordinates at each carpet point.
  177. Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If y (the default value), the y coordinates refer to layout.yaxis. If y2, the y coordinates refer to layout.yaxis2, and so on.
  178. Sets the source reference on Chart Studio Cloud for y.
  179. Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher zorder appear in front of those with lower zorder.