Skip to content

Streamtube

Overview

The streamtube trace type is used to create 3D streamtube plots, which visualize flow or vector field data in three dimensions. Streamtubes are ideal for visualizing the behavior of fluid flow, electromagnetic fields, or any vector data where the direction and magnitude of flow are important.

You can customize the color, size, and path of the streamtubes to represent the flow data effectively.

Common Uses

  • Fluid Dynamics: Visualizing the flow of fluids in a 3D space.
  • Vector Field Analysis: Analyzing vector fields like wind, magnetic, or electric fields.
  • Flow Visualization: Representing flow behavior over time or space.

Check out the Attributes for the full set of configuration options

Examples

Common Configurations

This example uses a real, dense dataset from Plotly's sample CSV to ensure the streamtube renders properly:

models:
  - name: streamtube-data
    args:
      - curl
      - -sL
      - https://raw.githubusercontent.com/plotly/datasets/master/streamtube-basic.csv
traces:
  - name: Simple Streamtube Plot
    model: ${ref(streamtube-data)}
    props:
      type: streamtube
      x: ?{x}
      y: ?{y}
      z: ?{z}
      u: ?{u}
      v: ?{v}
      w: ?{w}
charts:
  - name: Simple Streamtube Chart
    traces:
      - ${ref(Simple Streamtube Plot)}
    layout:
      title:
        text: Simple Streamtube Plot<br><sub>3D Vector Field Visualization</sub>

This example demonstrates a streamtube plot using the same CSV, with color mapping enabled:

models:
  - name: streamtube-data
    args:
      - curl
      - -sL
      - https://raw.githubusercontent.com/plotly/datasets/master/streamtube-basic.csv
traces:
  - name: Streamtube Plot with Color Mapping
    model: ${ref(streamtube-data)}
    props:
      type: streamtube
      x: ?{x}
      y: ?{y}
      z: ?{z}
      u: ?{u}
      v: ?{v}
      w: ?{w}
      colorscale: "Viridis"
charts:
  - name: Streamtube Chart with Color Mapping
    traces:
      - ${ref(Streamtube Plot with Color Mapping)}
    layout:
      title:
        text: Streamtube Plot with Color Mapping<br><sub>Vector Magnitude Represented by Color</sub>

This example uses the same CSV and sets a custom tube size reference:

models:
  - name: streamtube-data
    args:
      - curl
      - -sL
      - https://raw.githubusercontent.com/plotly/datasets/master/streamtube-basic.csv
traces:
  - name: Streamtube Plot with Custom Tube Sizes
    model: ${ref(streamtube-data)}
    props:
      type: streamtube
      x: ?{x}
      y: ?{y}
      z: ?{z}
      u: ?{u}
      v: ?{v}
      w: ?{w}
      sizeref: 0.5
charts:
  - name: Streamtube Chart with Custom Tube Sizes
    traces:
      - ${ref(Streamtube Plot with Custom Tube Sizes)}
    layout:
      title:
        text: Streamtube Plot with Custom Tube Sizes<br><sub>Vector Magnitude Represented by Tube Size</sub>

A schema to validate plotly trace properties

Attributes

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

autocolorscale: 'boolean' #(1)!
cauto: 'boolean' #(2)!
cmax: 'number' #(3)!
cmid: 'number' #(4)!
cmin: 'number' #(5)!
coloraxis: 'string' #(6)!
colorbar:
  bgcolor: 'any' #(7)!
  bordercolor: 'any' #(8)!
  borderwidth: 'number' #(9)!
  exponentformat: 'any' #(10)!
  len: 'number' #(11)!
  lenmode: 'any' #(12)!
  minexponent: 'number' #(13)!
  nticks: 'integer' #(14)!
  orientation: 'any' #(15)!
  outlinecolor: 'any' #(16)!
  outlinewidth: 'number' #(17)!
  separatethousands: 'boolean' #(18)!
  showexponent: 'any' #(19)!
  showticklabels: 'boolean' #(20)!
  showtickprefix: 'any' #(21)!
  showticksuffix: 'any' #(22)!
  thickness: 'number' #(23)!
  thicknessmode: 'any' #(24)!
  tickangle: 'number' #(25)!
  tickcolor: 'any' #(26)!
  tickfont:
    color: any
    family: 'string' #(27)!
    lineposition: 'string' #(28)!
    shadow: 'string' #(29)!
    size: number
    style: 'any' #(30)!
    textcase: 'any' #(31)!
    variant: 'any' #(32)!
    weight: 'integer' #(33)!
  tickformat: 'string' #(34)!
  tickformatstops: array
  ticklabeloverflow: 'any' #(35)!
  ticklabelposition: 'any' #(36)!
  ticklabelstep: 'integer' #(37)!
  ticklen: 'number' #(38)!
  tickmode: 'any' #(39)!
  tickprefix: 'string' #(40)!
  ticks: 'any' #(41)!
  ticksuffix: 'string' #(42)!
  ticktext: 'array' #(43)!
  ticktextsrc: 'string' #(44)!
  tickvals: 'array' #(45)!
  tickvalssrc: 'string' #(46)!
  tickwidth: 'number' #(47)!
  title:
    font:
      color: any
      family: 'string' #(48)!
      lineposition: 'string' #(49)!
      shadow: 'string' #(50)!
      size: number
      style: 'any' #(51)!
      textcase: 'any' #(52)!
      variant: 'any' #(53)!
      weight: 'integer' #(54)!
    side: 'any' #(55)!
    text: 'string' #(56)!
  x: 'number' #(57)!
  xanchor: 'any' #(58)!
  xpad: 'number' #(59)!
  xref: 'any' #(60)!
  y: 'number' #(61)!
  yanchor: 'any' #(62)!
  ypad: 'number' #(63)!
  yref: 'any' #(64)!
colorscale: 'any' #(65)!
customdata: 'array' #(66)!
customdatasrc: 'string' #(67)!
hoverinfo: 'array' #(68)!
hoverinfosrc: 'string' #(69)!
hoverlabel:
  align: 'array' #(70)!
  alignsrc: 'string' #(71)!
  bgcolor: 'color | array' #(72)!
  bgcolorsrc: 'string' #(73)!
  bordercolor: 'color | array' #(74)!
  bordercolorsrc: 'string' #(75)!
  font:
    color: color | array
    colorsrc: 'string' #(76)!
    family: 'string | array' #(77)!
    familysrc: 'string' #(78)!
    lineposition: 'array' #(79)!
    linepositionsrc: 'string' #(80)!
    shadow: 'string | array' #(81)!
    shadowsrc: 'string' #(82)!
    size: number | array
    sizesrc: 'string' #(83)!
    style: 'array' #(84)!
    stylesrc: 'string' #(85)!
    textcase: 'array' #(86)!
    textcasesrc: 'string' #(87)!
    variant: 'array' #(88)!
    variantsrc: 'string' #(89)!
    weight: 'integer | array' #(90)!
    weightsrc: 'string' #(91)!
  namelength: 'integer | array' #(92)!
  namelengthsrc: 'string' #(93)!
hovertemplate: 'string | array' #(94)!
hovertemplatesrc: 'string' #(95)!
hovertext: 'string' #(96)!
ids: 'array' #(97)!
idssrc: 'string' #(98)!
legend: 'string' #(99)!
legendgroup: 'string' #(100)!
legendgrouptitle:
  font:
    color: any
    family: 'string' #(101)!
    lineposition: 'string' #(102)!
    shadow: 'string' #(103)!
    size: number
    style: 'any' #(104)!
    textcase: 'any' #(105)!
    variant: 'any' #(106)!
    weight: 'integer' #(107)!
  text: 'string' #(108)!
legendrank: 'number' #(109)!
legendwidth: 'number' #(110)!
lighting:
  ambient: 'number' #(111)!
  diffuse: 'number' #(112)!
  facenormalsepsilon: 'number' #(113)!
  fresnel: 'number' #(114)!
  roughness: 'number' #(115)!
  specular: 'number' #(116)!
  vertexnormalsepsilon: 'number' #(117)!
lightposition:
  x: 'number' #(118)!
  y: 'number' #(119)!
  z: 'number' #(120)!
maxdisplayed: 'integer' #(121)!
metasrc: 'string' #(122)!
name: 'string' #(123)!
opacity: 'number' #(124)!
reversescale: 'boolean' #(125)!
scene: 'string' #(126)!
showlegend: 'boolean' #(127)!
showscale: 'boolean' #(128)!
sizeref: 'number' #(129)!
starts:
  x: 'array' #(130)!
  xsrc: 'string' #(131)!
  y: 'array' #(132)!
  ysrc: 'string' #(133)!
  z: 'array' #(134)!
  zsrc: 'string' #(135)!
stream:
  maxpoints: 'number' #(136)!
  token: 'string' #(137)!
text: 'string' #(138)!
type: streamtube
u: 'array' #(139)!
uhoverformat: 'string' #(140)!
uid: 'string' #(141)!
usrc: 'string' #(142)!
v: 'array' #(143)!
vhoverformat: 'string' #(144)!
visible: 'any' #(145)!
vsrc: 'string' #(146)!
w: 'array' #(147)!
whoverformat: 'string' #(148)!
wsrc: 'string' #(149)!
x: 'array' #(150)!
xhoverformat: 'string' #(151)!
xsrc: 'string' #(152)!
y: 'array' #(153)!
yhoverformat: 'string' #(154)!
ysrc: 'string' #(155)!
z: 'array' #(156)!
zhoverformat: 'string' #(157)!
zsrc: 'string' #(158)!
  1. 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.
  2. Determines whether or not the color domain is computed with respect to the input data (here u/v/w norm) or the bounds set in cmin and cmax Defaults to false when cmin and cmax are set by the user.
  3. Sets the upper bound of the color domain. Value should have the same units as u/v/w norm and if set, cmin must be set as well.
  4. Sets the mid-point of the color domain by scaling cmin and/or cmax to be equidistant to this point. Value should have the same units as u/v/w norm. Has no effect when cauto is false.
  5. Sets the lower bound of the color domain. Value should have the same units as u/v/w norm and if set, cmax must be set as well.
  6. 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.
  7. Sets the color of padded area.
  8. Sets the axis line color.
  9. Sets the width (in px) or the border enclosing this color bar.
  10. 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.
  11. 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.
  12. 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.
  13. Hide SI prefix for 10^n if |n| is below this number. This only has an effect when tickformat is SI or B.
  14. 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.
  15. Sets the orientation of the colorbar.
  16. Sets the axis line color.
  17. Sets the width (in px) of the axis line.
  18. If "true", even 4-digit integers are separated
  19. 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.
  20. Determines whether or not the tick labels are drawn.
  21. 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.
  22. Same as showtickprefix but for tick suffixes.
  23. Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
  24. 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.
  25. Sets the angle of the tick labels with respect to the horizontal. For example, a tickangle of -90 draws the tick labels vertically.
  26. Sets the tick color.
  27. 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.
  28. 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.
  29. 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.
  30. Sets whether a font should be styled with a normal or italic face from its family.
  31. Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
  32. Sets the variant of the font.
  33. Sets the weight (or boldness) of the font.
  34. 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
  35. 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.
  36. 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.
  37. 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.
  38. Sets the tick length (in px).
  39. 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).
  40. Sets a tick label prefix.
  41. 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.
  42. Sets a tick label suffix.
  43. Sets the text displayed at the ticks position via tickvals. Only has an effect if tickmode is set to array. Used with tickvals.
  44. Sets the source reference on Chart Studio Cloud for ticktext.
  45. Sets the values at which ticks on this axis appear. Only has an effect if tickmode is set to array. Used with ticktext.
  46. Sets the source reference on Chart Studio Cloud for tickvals.
  47. Sets the tick width (in px).
  48. 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.
  49. 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.
  50. 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.
  51. Sets whether a font should be styled with a normal or italic face from its family.
  52. Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
  53. Sets the variant of the font.
  54. Sets the weight (or boldness) of the font.
  55. 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.
  56. Sets the title of the color bar.
  57. 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.
  58. 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.
  59. Sets the amount of padding (in px) along the x direction.
  60. Sets the container x refers to. container spans the entire width of the plot. paper refers to the width of the plotting area only.
  61. 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.
  62. 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.
  63. Sets the amount of padding (in px) along the y direction.
  64. Sets the container y refers to. container spans the entire height of the plot. paper refers to the height of the plotting area only.
  65. 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 cmin and cmax. 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.
  66. 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
  67. Sets the source reference on Chart Studio Cloud for customdata.
  68. Determines which trace information appear on hover. If none or skip are set, no information is displayed upon hovering. But, if none is set, click and hover events are still fired.
  69. Sets the source reference on Chart Studio Cloud for hoverinfo.
  70. Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines
  71. Sets the source reference on Chart Studio Cloud for align.
  72. Sets the background color of the hover labels for this trace
  73. Sets the source reference on Chart Studio Cloud for bgcolor.
  74. Sets the border color of the hover labels for this trace.
  75. Sets the source reference on Chart Studio Cloud for bordercolor.
  76. Sets the source reference on Chart Studio Cloud for color.
  77. 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.
  78. Sets the source reference on Chart Studio Cloud for family.
  79. 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.
  80. Sets the source reference on Chart Studio Cloud for lineposition.
  81. 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.
  82. Sets the source reference on Chart Studio Cloud for shadow.
  83. Sets the source reference on Chart Studio Cloud for size.
  84. Sets whether a font should be styled with a normal or italic face from its family.
  85. Sets the source reference on Chart Studio Cloud for style.
  86. Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
  87. Sets the source reference on Chart Studio Cloud for textcase.
  88. Sets the variant of the font.
  89. Sets the source reference on Chart Studio Cloud for variant.
  90. Sets the weight (or boldness) of the font.
  91. Sets the source reference on Chart Studio Cloud for weight.
  92. Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to namelength - 3 characters and add an ellipsis.
  93. Sets the source reference on Chart Studio Cloud for namelength.
  94. Template string used for rendering the information that appear on hover box. Note that this will override hoverinfo. Variables are inserted using %{variable}, for example "y: %{y}" as well as %{xother}, {%xother}, {%_xother}, {%xother_}. When showing info for several points, xother will be added to those with different x positions from the first point. An underscore before or after (x|y)other will add a space on that side, only when this field is shown. Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. 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. Finally, the template string has access to variables tubex, tubey, tubez, tubeu, tubev, tubew, norm and divergence. Anything contained in tag <extra> is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag <extra></extra>.
  95. Sets the source reference on Chart Studio Cloud for hovertemplate.
  96. Same as text.
  97. 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.
  98. Sets the source reference on Chart Studio Cloud for ids.
  99. 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.
  100. 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.
  101. 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.
  102. 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.
  103. 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.
  104. Sets whether a font should be styled with a normal or italic face from its family.
  105. Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
  106. Sets the variant of the font.
  107. Sets the weight (or boldness) of the font.
  108. Sets the title of the legend group.
  109. 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.
  110. Sets the width (in px or fraction) of the legend for this trace.
  111. Ambient light increases overall color visibility but can wash out the image.
  112. Represents the extent that incident rays are reflected in a range of angles.
  113. Epsilon for face normals calculation avoids math issues arising from degenerate geometry.
  114. Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine.
  115. Alters specular reflection; the rougher the surface, the wider and less contrasty the shine.
  116. Represents the level that incident rays are reflected in a single direction, causing shine.
  117. Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry.
  118. Numeric vector, representing the X coordinate for each vertex.
  119. Numeric vector, representing the Y coordinate for each vertex.
  120. Numeric vector, representing the Z coordinate for each vertex.
  121. The maximum number of displayed segments in a streamtube.
  122. Sets the source reference on Chart Studio Cloud for meta.
  123. Sets the trace name. The trace name appears as the legend item and on hover.
  124. Sets the opacity of the surface. Please note that in the case of using high opacity values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change.
  125. Reverses the color mapping if true. If true, cmin will correspond to the last color in the array and cmax will correspond to the first color.
  126. Sets a reference between this trace's 3D coordinate system and a 3D scene. If scene (the default value), the (x,y,z) coordinates refer to layout.scene. If scene2, the (x,y,z) coordinates refer to layout.scene2, and so on.
  127. Determines whether or not an item corresponding to this trace is shown in the legend.
  128. Determines whether or not a colorbar is displayed for this trace.
  129. The scaling factor for the streamtubes. The default is 1, which avoids two max divergence tubes from touching at adjacent starting positions.
  130. Sets the x components of the starting position of the streamtubes
  131. Sets the source reference on Chart Studio Cloud for x.
  132. Sets the y components of the starting position of the streamtubes
  133. Sets the source reference on Chart Studio Cloud for y.
  134. Sets the z components of the starting position of the streamtubes
  135. Sets the source reference on Chart Studio Cloud for z.
  136. 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.
  137. The stream id number links a data trace on a plot with a stream. See https://chart-studio.plotly.com/settings for more details.
  138. Sets a text element associated with this trace. If trace hoverinfo contains a text flag, this text element will be seen in all hover labels. Note that streamtube traces do not support array text values.
  139. Sets the x components of the vector field.
  140. Sets the hover text formatting rulefor u 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.By default the values are formatted using generic number format.
  141. Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions.
  142. Sets the source reference on Chart Studio Cloud for u.
  143. Sets the y components of the vector field.
  144. Sets the hover text formatting rulefor v 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.By default the values are formatted using generic number format.
  145. 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).
  146. Sets the source reference on Chart Studio Cloud for v.
  147. Sets the z components of the vector field.
  148. Sets the hover text formatting rulefor w 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.By default the values are formatted using generic number format.
  149. Sets the source reference on Chart Studio Cloud for w.
  150. Sets the x coordinates of the vector field.
  151. Sets the hover text formatting rulefor x 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.46By default the values are formatted using xaxis.hoverformat.
  152. Sets the source reference on Chart Studio Cloud for x.
  153. Sets the y coordinates of the vector field.
  154. Sets the hover text formatting rulefor y 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.46By default the values are formatted using yaxis.hoverformat.
  155. Sets the source reference on Chart Studio Cloud for y.
  156. Sets the z coordinates of the vector field.
  157. Sets the hover text formatting rulefor z 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.46By default the values are formatted using zaxis.hoverformat.
  158. Sets the source reference on Chart Studio Cloud for z.