Plotly.Carpet (plotly_ex v0.3.0)

Copy Markdown View Source

Plotly Carpet trace struct. All top-level trace properties are struct fields. Unknown keys raise ArgumentError at construction time.

Nested properties (marker, line, etc.) accept plain maps or keyword lists — keyword lists are automatically normalised to maps before JSON encoding.

Fields

See the Plotly carpet reference for full descriptions.

  • :a — data array
  • :a0 — number
  • :aaxis — map (nested properties)
  • :b — data array
  • :b0 — number
  • :baxis — map (nested properties)
  • :carpet — string
  • :cheaterslope — number
  • :color — color
  • :customdata — data array
  • :da — number
  • :db — number
  • :font — map (nested properties)
  • :ids — data array
  • :legend — string (subplot id)
  • :legendgrouptitle — map (nested properties)
  • :legendrank — number
  • :legendwidth — number, 0
  • :meta — any
  • :name — string
  • :opacity — number, 0–1
  • :uid — string
  • :uirevision — any
  • :visible — one of: true | false | "legendonly"

  • :x — data array
  • :xaxis — string (subplot id)
  • :y — data array
  • :yaxis — string (subplot id)
  • :zorder — integer

Summary

Functions

Construct a Carpet trace. Raises ArgumentError on unknown keys.

Functions

new(opts \\ [])

Construct a Carpet trace. Raises ArgumentError on unknown keys.