Plotly
public enum Plotly
Color scales imported from Plotly.js and Plotly.py.
Copyright
Licensed under the MIT license.-
Sequential color scale.
Note
Original name isGreys
.Declaration
Swift
public static let grays: ColorScale
-
Sequential color scale.
Note
Original name isYlGnBu
.Declaration
Swift
public static let blueGreenYellow: ColorScale
-
Sequential color scale.
Note
Original name isGreens
.Declaration
Swift
public static let greens: ColorScale
-
Sequential color scale.
Note
Original name isYlOrRd
.Declaration
Swift
public static let redOrangeYellow: ColorScale
-
Sequential color scale.
Note
Original name isBluered
.Declaration
Swift
public static let blueRed: ColorScale
-
Sequential color scale.
Note
Original name isRdBu
.Declaration
Swift
public static let redBlue: ColorScale
-
Sequential color scale for non-negative numeric values.
Note
Original name isReds
.Declaration
Swift
public static let reds: ColorScale
-
Sequential color scale for non-positive numeric values.
Note
Original name isBlues
.Declaration
Swift
public static let blues: ColorScale
-
Diverging color scale.
Note
Original name isPicnic
.Declaration
Swift
public static let picnic: ColorScale
-
Sequential color scale.
Note
Original name isRainbow
.Declaration
Swift
public static let rainbow: ColorScale
-
Diverging color scale.
Note
Original name isPortland
.Declaration
Swift
public static let portland: ColorScale
-
Sequential color scale similar to Matlab 2014.
Note
Original name isJet
.Declaration
Swift
public static let jet: ColorScale
-
Sequential color scale.
Note
Original name isHot
.Declaration
Swift
public static let hot: ColorScale
-
Sequential color scale.
Note
Original name isBlackbody
.Declaration
Swift
public static let blackBody: ColorScale
-
Sequential color scale.
Note
Original name isEarth
.Declaration
Swift
public static let earth: ColorScale
-
Sequential color scale.
Note
Original name isElectric
.Declaration
Swift
public static let electric: ColorScale
-
Sequential color scale originating from Matplotlib.
Note
Original name isViridis
.Declaration
Swift
public static let viridis: ColorScale
-
Sequential color scale.
Note
Original name isCividis
.Declaration
Swift
public static let cividis: ColorScale
-
Default sequential color scale for figures created with Plotly 3.x.
Note
Original name isPlotly3
.Declaration
Swift
public static let plotly3: ColorScale
-
Sequential color scale originating from Matplotlib.
Note
Original name isInferno
.Declaration
Swift
public static let inferno: ColorScale
-
Sequential color scale originating from Matplotlib.
Note
Original name isMagma
.Declaration
Swift
public static let magma: ColorScale
-
Sequential color scale originating from Matplotlib.
Note
Original name isPlasma
.Declaration
Swift
public static let plasma: ColorScale
-
Cyclical color scale.
Declaration
Swift
public static let twilight: ColorScale
-
Cyclical color scale.
Declaration
Swift
public static let iceFire: ColorScale
-
Cyclical color scale.
Declaration
Swift
public static let edge: ColorScale
-
Cyclical color scale.
Declaration
Swift
public static let hsv: ColorScale
-
Cyclical color scale.
Declaration
Swift
public static let magentaRedYellowBlue: ColorScale
-
Cyclical color scale.
Declaration
Swift
public static let magentaYellowGreenBlue: ColorScale
-
Creates a figure that shows all Plotly color scales next to each other.
Declaration
Swift
public static func swatch() -> Figure