Skip to content

Contourcarpet

Overview

The contourcarpet trace type is used to create contour plots over a carpet plot. It combines the advantages of contour plots with the flexible grid system of carpet plots. This trace is useful for visualizing 3D data on non-uniform or irregular grids, often seen in engineering, physics, or other technical applications.

You can control contour levels, colors, and other properties to display data patterns over an underlying carpet plot.

Common Uses

  • Distorted Grids: Visualizing data over irregular grids or non-linear spaces.
  • Engineering Data: Representing data that spans across irregular dimensions.
  • Multivariate Visualization: Handling data with multiple independent variables.

Check out the Attributes for the full set of configuration options

Examples

Common Configurations

Here's a simple contourcarpet plot showing a contour over a basic carpet plot:

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

models:
  - name: contourcarpet-data
    args:
      - echo
      - |
        a,b,x,y,z
        1,1,2,3,10
        2,1,3,4,15
        3,1,4,5,20
        1,2,5,6,25
        2,2,6,7,30
        3,2,7,8,35
        1,3,8,9,40
        2,3,9,10,45
        3,3,10,11,50
traces:
  - name: Carpet Plot
    model: ${ref(contourcarpet-data)}
    props:
      type: carpet
      a: ?{a}
      b: ?{b}
      x: ?{x}
      y: ?{y}
  - name: Simple Contourcarpet Plot
    model: ${ref(contourcarpet-data)}
    props:
      type: contourcarpet
      carpet: ${ref(Carpet Plot)}
      z: ?{z}
      colorscale: "Viridis"
charts:
  - name: Simple Contourcarpet Chart
    traces:
      - ${ref(Simple Contourcarpet Plot)}
      - ${ref(Carpet Plot)}
    layout:
      title:
        text: Simple Contourcarpet Plot<br><sub>Contour Plot over a Carpet</sub>
      xaxis:
        title:
          text: "X Axis"
      yaxis:
        title:
          text: "Y Axis"

This example shows a filled contourcarpet plot, where the contours are filled with colors:

Here's the code:

models:
  - name: contourcarpet-data-filled
    args:
      - echo
      - |
        a,b,x,y,z
        0,0,2,3,5
        1,0,3,4,10
        2,0,4,5,15
        0,1,5,6,20
        1,1,6,7,25
        2,1,7,8,30
        0,2,8,9,35
        1,2,9,10,40
        2,2,10,11,45
traces:
  - name: Carpet Plot Filled
    model: ${ref(contourcarpet-data-filled)}
    props:
      type: carpet
      a: ?{a}
      b: ?{b}
      x: ?{x}
      y: ?{y}
  - name: Filled Contourcarpet Plot
    model: ${ref(contourcarpet-data-filled)}
    props:
      type: contourcarpet
      carpet: ${ref(Carpet Plot Filled)}
      z: ?{z}
      colorscale: "Earth"
      contours:
        coloring: "heatmap"
        showlines: true
charts:
  - name: Filled Contourcarpet Chart
    traces:
      - ${ref(Filled Contourcarpet Plot)}
      - ${ref(Carpet Plot Filled)}
    layout:
      title:
        text: Filled Contourcarpet Plot<br><sub>Filled Contour Plot over a Carpet</sub>
      xaxis:
        title:
          text: "X Axis"
      yaxis:
        title:
          text: "Y Axis"

This example demonstrates how to customize contour levels and coloring in a contourcarpet plot:

Here's the code:

models:
  - name: contourcarpet-data-custom
    args:
      - echo
      - |
        a,b,x,y,z
        0,0,1,1,10
        1,0,2,2,20
        2,0,3,3,30
        0,1,4,4,40
        1,1,5,5,50
        2,1,6,6,60
        0,2,7,7,70
        1,2,8,8,80
        2,2,9,9,90
traces:
  - name: Carpet Plot Custom
    model: ${ref(contourcarpet-data-custom)}
    props:
      type: carpet
      a: ?{a}
      b: ?{b}
      x: ?{x}
      y: ?{y}
  - name: Custom Contourcarpet Plot
    model: ${ref(contourcarpet-data-custom)}
    props:
      type: contourcarpet
      carpet: ${ref(Carpet Plot Custom)}
      z: ?{z}
      colorscale: "Jet"
      contours:
        start: 10
        end: 90
        size: 10
charts:
  - name: Custom Contourcarpet Chart
    traces:
      - ${ref(Custom Contourcarpet Plot)}
      - ${ref(Carpet Plot Custom)}
    layout:
      title:
        text: Custom Contourcarpet Plot<br><sub>Customized Contour Levels on a Carpet</sub>
      xaxis:
        title:
          text: "X Axis"
      yaxis:
        title:
          text: "Y Axis"

A schema to validate plotly trace properties

Attributes

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

a: 'array' #(1)!
asrc: 'string' #(2)!
atype: 'any' #(3)!
autocolorscale: 'boolean' #(4)!
autocontour: 'boolean' #(5)!
b: 'array' #(6)!
bsrc: 'string' #(7)!
btype: 'any' #(8)!
carpet: 'string' #(9)!
coloraxis: 'string' #(10)!
colorbar:
  bgcolor: 'any' #(11)!
  bordercolor: 'any' #(12)!
  borderwidth: 'number' #(13)!
  exponentformat: 'any' #(14)!
  len: 'number' #(15)!
  lenmode: 'any' #(16)!
  minexponent: 'number' #(17)!
  nticks: 'integer' #(18)!
  orientation: 'any' #(19)!
  outlinecolor: 'any' #(20)!
  outlinewidth: 'number' #(21)!
  separatethousands: 'boolean' #(22)!
  showexponent: 'any' #(23)!
  showticklabels: 'boolean' #(24)!
  showtickprefix: 'any' #(25)!
  showticksuffix: 'any' #(26)!
  thickness: 'number' #(27)!
  thicknessmode: 'any' #(28)!
  tickangle: 'number' #(29)!
  tickcolor: 'any' #(30)!
  tickfont:
    color: any
    family: 'string' #(31)!
    lineposition: 'string' #(32)!
    shadow: 'string' #(33)!
    size: number
    style: 'any' #(34)!
    textcase: 'any' #(35)!
    variant: 'any' #(36)!
    weight: 'integer' #(37)!
  tickformat: 'string' #(38)!
  tickformatstops: array
  ticklabeloverflow: 'any' #(39)!
  ticklabelposition: 'any' #(40)!
  ticklabelstep: 'integer' #(41)!
  ticklen: 'number' #(42)!
  tickmode: 'any' #(43)!
  tickprefix: 'string' #(44)!
  ticks: 'any' #(45)!
  ticksuffix: 'string' #(46)!
  ticktext: 'array' #(47)!
  ticktextsrc: 'string' #(48)!
  tickvals: 'array' #(49)!
  tickvalssrc: 'string' #(50)!
  tickwidth: 'number' #(51)!
  title:
    font:
      color: any
      family: 'string' #(52)!
      lineposition: 'string' #(53)!
      shadow: 'string' #(54)!
      size: number
      style: 'any' #(55)!
      textcase: 'any' #(56)!
      variant: 'any' #(57)!
      weight: 'integer' #(58)!
    side: 'any' #(59)!
    text: 'string' #(60)!
  x: 'number' #(61)!
  xanchor: 'any' #(62)!
  xpad: 'number' #(63)!
  xref: 'any' #(64)!
  y: 'number' #(65)!
  yanchor: 'any' #(66)!
  ypad: 'number' #(67)!
  yref: 'any' #(68)!
colorscale: 'any' #(69)!
contours:
  coloring: 'any' #(70)!
  end: 'number' #(71)!
  impliedEdits: any
  labelfont:
    color: any
    family: 'string' #(72)!
    lineposition: 'string' #(73)!
    shadow: 'string' #(74)!
    size: number
    style: 'any' #(75)!
    textcase: 'any' #(76)!
    variant: 'any' #(77)!
    weight: 'integer' #(78)!
  labelformat: 'string' #(79)!
  operation: 'any' #(80)!
  showlabels: 'boolean' #(81)!
  showlines: 'boolean' #(82)!
  size: 'number' #(83)!
  start: 'number' #(84)!
  type: 'any' #(85)!
customdata: 'array' #(86)!
customdatasrc: 'string' #(87)!
da: 'number' #(88)!
db: 'number' #(89)!
fillcolor: 'any' #(90)!
hovertext: 'array' #(91)!
hovertextsrc: 'string' #(92)!
ids: 'array' #(93)!
idssrc: 'string' #(94)!
legend: 'string' #(95)!
legendgroup: 'string' #(96)!
legendgrouptitle:
  font:
    color: any
    family: 'string' #(97)!
    lineposition: 'string' #(98)!
    shadow: 'string' #(99)!
    size: number
    style: 'any' #(100)!
    textcase: 'any' #(101)!
    variant: 'any' #(102)!
    weight: 'integer' #(103)!
  text: 'string' #(104)!
legendrank: 'number' #(105)!
legendwidth: 'number' #(106)!
line:
  color: 'any' #(107)!
  dash: 'string' #(108)!
  smoothing: 'number' #(109)!
  width: 'number' #(110)!
metasrc: 'string' #(111)!
name: 'string' #(112)!
ncontours: 'integer' #(113)!
opacity: 'number' #(114)!
reversescale: 'boolean' #(115)!
showlegend: 'boolean' #(116)!
showscale: 'boolean' #(117)!
stream:
  maxpoints: 'number' #(118)!
  token: 'string' #(119)!
text: 'array' #(120)!
textsrc: 'string' #(121)!
transpose: 'boolean' #(122)!
type: contourcarpet
uid: 'string' #(123)!
visible: 'any' #(124)!
xaxis: 'string' #(125)!
yaxis: 'string' #(126)!
z: 'array' #(127)!
zauto: 'boolean' #(128)!
zmax: 'number' #(129)!
zmid: 'number' #(130)!
zmin: 'number' #(131)!
zorder: 'integer' #(132)!
zsrc: 'string' #(133)!
  1. Sets the x coordinates.
  2. Sets the source reference on Chart Studio Cloud for a.
  3. If array, the heatmap's x coordinates are given by x (the default behavior when x is provided). If scaled, the heatmap's x coordinates are given by x0 and dx (the default behavior when x is not provided).
  4. Determines whether the colorscale is a default palette (autocolorscale: true) or the palette determined by colorscale. In case colorscale is unspecified or autocolorscale is true, the default palette will be chosen according to whether numbers in the color array are all positive, all negative or mixed.
  5. Determines whether or not the contour level attributes are picked by an algorithm. If true, the number of contour levels can be set in ncontours. If false, set the contour level attributes in contours.
  6. Sets the y coordinates.
  7. Sets the source reference on Chart Studio Cloud for b.
  8. If array, the heatmap's y coordinates are given by y (the default behavior when y is provided) If scaled, the heatmap's y coordinates are given by y0 and dy (the default behavior when y is not provided)
  9. The carpet of the carpet axes on which this contour trace lies
  10. Sets a reference to a shared color axis. References to these shared color axes are coloraxis, coloraxis2, coloraxis3, etc. Settings for these shared color axes are set in the layout, under layout.coloraxis, layout.coloraxis2, etc. Note that multiple color scales can be linked to the same color axis.
  11. Sets the color of padded area.
  12. Sets the axis line color.
  13. Sets the width (in px) or the border enclosing this color bar.
  14. 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.
  15. Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
  16. Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot fraction or in *pixels. Use len to set the value.
  17. Hide SI prefix for 10^n if |n| is below this number. This only has an effect when tickformat is SI or B.
  18. 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.
  19. Sets the orientation of the colorbar.
  20. Sets the axis line color.
  21. Sets the width (in px) of the axis line.
  22. If "true", even 4-digit integers are separated
  23. 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.
  24. Determines whether or not the tick labels are drawn.
  25. 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.
  26. Same as showtickprefix but for tick suffixes.
  27. Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
  28. Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot fraction or in pixels. Use thickness to set the value.
  29. Sets the angle of the tick labels with respect to the horizontal. For example, a tickangle of -90 draws the tick labels vertically.
  30. Sets the tick color.
  31. 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.
  32. 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.
  33. 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.
  34. Sets whether a font should be styled with a normal or italic face from its family.
  35. Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
  36. Sets the variant of the font.
  37. Sets the weight (or boldness) of the font.
  38. 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
  39. Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is hide past domain. In other cases the default is hide past div.
  40. Determines where tick labels are drawn relative to the ticks. Left and right options are used when orientation is h, top and bottom when orientation is v.
  41. Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. tick0 determines which labels are shown. Not implemented for axes with type log or multicategory, or when tickmode is array.
  42. Sets the tick length (in px).
  43. Sets the tick mode for this axis. If auto, the number of ticks is set via nticks. If linear, the placement of the ticks is determined by a starting position tick0 and a tick step dtick (linear is the default value if tick0 and dtick are provided). If array, the placement of the ticks is set via tickvals and the tick text is ticktext. (array is the default value if tickvals is provided).
  44. Sets a tick label prefix.
  45. Determines whether ticks are drawn or not. If , this axis' ticks are not drawn. If outside (inside), this axis' are drawn outside (inside) the axis lines.
  46. Sets a tick label suffix.
  47. Sets the text displayed at the ticks position via tickvals. Only has an effect if tickmode is set to array. Used with tickvals.
  48. Sets the source reference on Chart Studio Cloud for ticktext.
  49. Sets the values at which ticks on this axis appear. Only has an effect if tickmode is set to array. Used with ticktext.
  50. Sets the source reference on Chart Studio Cloud for tickvals.
  51. Sets the tick width (in px).
  52. 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.
  53. 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.
  54. 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.
  55. Sets whether a font should be styled with a normal or italic face from its family.
  56. Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
  57. Sets the variant of the font.
  58. Sets the weight (or boldness) of the font.
  59. 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.
  60. Sets the title of the color bar.
  61. Sets the x position with respect to xref of the color bar (in plot fraction). When xref is paper, defaults to 1.02 when orientation is v and 0.5 when orientation is h. When xref is container, defaults to 1 when orientation is v and 0.5 when orientation is h. Must be between 0 and 1 if xref is container and between -2 and 3 if xref is paper.
  62. Sets this color bar's horizontal position anchor. This anchor binds the x position to the left, center or right of the color bar. Defaults to left when orientation is v and center when orientation is h.
  63. Sets the amount of padding (in px) along the x direction.
  64. Sets the container x refers to. container spans the entire width of the plot. paper refers to the width of the plotting area only.
  65. Sets the y position with respect to yref of the color bar (in plot fraction). When yref is paper, defaults to 0.5 when orientation is v and 1.02 when orientation is h. When yref is container, defaults to 0.5 when orientation is v and 1 when orientation is h. Must be between 0 and 1 if yref is container and between -2 and 3 if yref is paper.
  66. Sets this color bar's vertical position anchor This anchor binds the y position to the top, middle or bottom of the color bar. Defaults to middle when orientation is v and bottom when orientation is h.
  67. Sets the amount of padding (in px) along the y direction.
  68. Sets the container y refers to. container spans the entire height of the plot. paper refers to the height of the plotting area only.
  69. Sets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, [[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]. To control the bounds of the colorscale in color space, use zmin and zmax. Alternatively, colorscale may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
  70. Determines the coloring method showing the contour values. If fill, coloring is done evenly between each contour level If lines, coloring is done on the contour lines. If none, no coloring is applied on this trace.
  71. Sets the end contour level value. Must be more than contours.start
  72. 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.
  73. 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.
  74. 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.
  75. Sets whether a font should be styled with a normal or italic face from its family.
  76. Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
  77. Sets the variant of the font.
  78. Sets the weight (or boldness) of the font.
  79. Sets the contour 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.
  80. Sets the constraint operation. = keeps regions equal to value. < and <= keep regions less than value. > and >= keep regions greater than value. [], (), [), and (] keep regions inside value[0] and value[1]. ][, )(, ](, and )[ keep regions outside value[0] and value[1]. Open vs. closed intervals make no difference to constraint display, but all versions are allowed for consistency with filter transforms.
  81. Determines whether to label the contour lines with their values.
  82. Determines whether or not the contour lines are drawn. Has an effect only if contours.coloring is set to fill.
  83. Sets the step between each contour level. Must be positive.
  84. Sets the starting contour level value. Must be less than contours.end
  85. If levels, the data is represented as a contour plot with multiple levels displayed. If constraint, the data is represented as constraints with the invalid region shaded as specified by the operation and value parameters.
  86. 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
  87. Sets the source reference on Chart Studio Cloud for customdata.
  88. Sets the x coordinate step. See x0 for more info.
  89. Sets the y coordinate step. See y0 for more info.
  90. Sets the fill color if contours.type is constraint. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.
  91. Same as text.
  92. Sets the source reference on Chart Studio Cloud for hovertext.
  93. 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.
  94. Sets the source reference on Chart Studio Cloud for ids.
  95. 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.
  96. Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items.
  97. 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.
  98. 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.
  99. 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.
  100. Sets whether a font should be styled with a normal or italic face from its family.
  101. Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
  102. Sets the variant of the font.
  103. Sets the weight (or boldness) of the font.
  104. Sets the title of the legend group.
  105. 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.
  106. Sets the width (in px or fraction) of the legend for this trace.
  107. Sets the color of the contour level. Has no effect if contours.coloring is set to lines.
  108. 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).
  109. Sets the amount of smoothing for the contour lines, where 0 corresponds to no smoothing.
  110. Sets the contour line width in (in px) Defaults to 0.5 when contours.type is levels. Defaults to 2 when contour.type is constraint.
  111. Sets the source reference on Chart Studio Cloud for meta.
  112. Sets the trace name. The trace name appears as the legend item and on hover.
  113. Sets the maximum number of contour levels. The actual number of contours will be chosen automatically to be less than or equal to the value of ncontours. Has an effect only if autocontour is true or if contours.size is missing.
  114. Sets the opacity of the trace.
  115. Reverses the color mapping if true. If true, zmin will correspond to the last color in the array and zmax will correspond to the first color.
  116. Determines whether or not an item corresponding to this trace is shown in the legend.
  117. Determines whether or not a colorbar is displayed for this trace.
  118. 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.
  119. The stream id number links a data trace on a plot with a stream. See https://chart-studio.plotly.com/settings for more details.
  120. Sets the text elements associated with each z value.
  121. Sets the source reference on Chart Studio Cloud for text.
  122. Transposes the z data.
  123. Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions.
  124. 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).
  125. 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.
  126. 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.
  127. Sets the z data.
  128. Determines whether or not the color domain is computed with respect to the input data (here in z) or the bounds set in zmin and zmax Defaults to false when zmin and zmax are set by the user.
  129. Sets the upper bound of the color domain. Value should have the same units as in z and if set, zmin must be set as well.
  130. Sets the mid-point of the color domain by scaling zmin and/or zmax to be equidistant to this point. Value should have the same units as in z. Has no effect when zauto is false.
  131. Sets the lower bound of the color domain. Value should have the same units as in z and if set, zmax must be set as well.
  132. 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.
  133. Sets the source reference on Chart Studio Cloud for z.