Series

These attributes apply to individual series (lines, scatters, heatmaps, etc)

AttributeAliasesDefaultTypeDescription
arrowarrows`nothing`nothing (no arrows), Bool (if true, default arrows), Arrow object, or arg(s) that could be style or head length/widthsDefines arrowheads that should be displayed at the end of path line segments (just before a NaN and the last non-NaN point). Used in quiverplot, streamplot, or similar.
bar_edgesbar_edgess`false`BoolAlign bars to edges (true), or centers (the default)?
bar_positionbar_positions`overlay`SymbolChoose from `:overlay` (default), `:stack`. (warning: May not be implemented fully)
bar_widthbar_widths`nothing`nothing or NumberWidth of bars in data coordinates. When nothing, chooses based on x (or y when `orientation = :h`).
binsbin, binss, nb, nbin, nbins`auto`Integer, NTuple{2,Integer}, AbstractVector or SymbolDefault is :auto (the Freedman-Diaconis rule). For histogram-types, defines the approximate number of bins to aim for, or the auto-binning algorithm to use (:sturges, :sqrt, :rice, :scott or :fd). For fine-grained control pass a Vector of break values, e.g. `range(minimum(x), stop = maximum(x), length = 25)`
colorbar_entrycolorbar_entrys`true`BoolInclude this series in the color bar? Set to `false` to exclude.
contour_labelsclabels, clabs, contour_labelss, contourlabels`false`BoolShow labels at the contour lines?
contourscontourss`false`BoolAdd contours to the side-grids of 3D plots? Used in surface/wireframe.
extra_kwargsextra_kwargss`Dict{Any,Any}()`Either one of (`:plot`, `:subplot`, `:series`) to specify for which element extra keyword args are collected or a KW (Dict{Symbol,Any}) to pass a map of extra keyword args which may be specific to a backendDefault: `:series`. Example: `pgfplotsx(); scatter(1:5, extra_kwargs=Dict(:subplot=>Dict("axis line shift" => "10pt"))`
fill_zfill_zs, fillz, fz, sc, surfacecolor, surfacecolour, surfcolor, surfcolour`nothing`Matrix{Float64} of the same size as z matrix, which specifies the color of the 3D surface; the default value is `nothing`
fillalphafa, falpha, fillalphas, fillopacity, fopacity, fα`nothing`Number in [0,1]The alpha/opacity override for the fill area. `nothing` (the default) means it will take the alpha value of fillcolor.
fillcolorfc, fcolor, fcolour, fillcolors, fillcolour`match`Color TypeColor of the filled area of path or bar types. `:match` will take the value from `:seriescolor`.
fillrangefill_between, fillranges, fillrng, fillto, frange`nothing`Number or AbstractVectorFills area between fillrange and y for line-types, sets the base for bar/stick types, and similar for other types.
groupg, grouping, groups`nothing`AbstractVectorData is split into a separate series, one for each unique value in `group`.
hoverhovers`nothing`nothing or vector of stringsText to display when hovering over each data point.
labellab, labels`AUTO`String typeThe label for a series, which appears in a legend. If empty, no legend entry is added.
levelslevelss, levs, nlev, nlevels`15`Integer, NTuple{2,Integer}, or AbstractVectorLevels or number of levels (or x-levels/y-levels) for a contour type.
line_zline_zs, linez, lz, zline`nothing`AbstractVector, Function `f(x,y,z) -> z_value`, or Function `f(x,y) -> z_value`, or nothingz-values for each series line segment, which correspond to the color to be used from a linecolor gradient. Note that for N points, only the first N-1 values are used (one per line-segment).
linealphala, lalpha, linealphas, lineopacity, lopacity, lα`nothing`Number in [0,1]The alpha/opacity override for the line. `nothing` (the default) means it will take the alpha value of linecolor.
linecolorlc, lcolor, lcolour, linecolors, linecolour`auto`Color TypeColor of the line (for path and bar stroke). `:match` will take the value from `:seriescolor`, (though histogram/bar types use `:black` as a default).
linestylelinestyles, ls, s, style`solid`SymbolStyle of the line (for path and bar stroke). Choose from [:auto, :solid, :dash, :dot, :dashdot, :dashdotdot]
linewidthlinewidths, lw, w, width`auto`NumberWidth of the line (in pixels)
marker_zmarker_zs, markerz, mz, zcolor`nothing`AbstractVector, Function `f(x,y,z) -> z_value`, or Function `f(x,y) -> z_value`, or nothingz-values for each series data point, which correspond to the color to be used from a markercolor gradient.
markeralphama, malpha, markeralphas, markeropacity, mopacity, mα`nothing`Number in [0,1]The alpha/opacity override for the marker interior. `nothing` (the default) means it will take the alpha value of markercolor.
markercolormarkercolors, markercolour, mc, mcolor, mcolour`match`Color TypeColor of the interior of the marker or shape. `:match` will take the value from `:seriescolor`.
markershapemarkershapes, shape`none`Symbol, Shape, or AbstractVectorChoose from [:none, :auto, :circle, :rect, :star5, :diamond, :hexagon, :cross, :xcross, :utriangle, :dtriangle, :rtriangle, :ltriangle, :pentagon, :heptagon, :octagon, :star4, :star6, :star7, :star8, :vline, :hline, :+, :x].
markersizemarkersizes, ms, msize`4`Number or AbstractVectorSize (radius pixels) of the markers.
markerstrokealphamarkerstrokealphas, markerstrokeopacity, msa, msalpha, msopacity, msα`nothing`Number in [0,1]The alpha/opacity override for the marker stroke (border). `nothing` (the default) means it will take the alpha value of markerstrokecolor.
markerstrokecolormarkerstrokecolors, markerstrokecolour, msc, mscolor, mscolour`match`Color TypeColor of the marker stroke (border). `:match` will take the value from `:foreground_color_subplot`.
markerstrokestylemarkerstrokestyles`solid`SymbolStyle of the marker stroke (border). Choose from [:auto, :solid, :dash, :dot, :dashdot, :dashdotdot]
markerstrokewidthmarkerstrokewidths, msw, mswidth`1`NumberWidth of the marker stroke (border. in pixels)
match_dimensionsmatch_dimensionss, transpose, transpose_z`false`BoolFor heatmap types... should the first dimension of a matrix (rows) correspond to the first dimension of the plot (x-axis)? The default is false, which matches the behavior of Matplotlib, Plotly, and others. Note: when passing a function for z, the function should still map `(x,y) -> z`.
normalizenorm, normalized, normalizes, normed`false`Bool or SymbolHistogram normalization mode. Possible values are: false/:none (no normalization, default), true/:pdf (normalize to a discrete Probability Density Function, where the total area of the bins is 1), :probability (bin heights sum to 1) and :density (the area of each bin, rather than the height, is equal to the counts - useful for uneven bin sizes).
orientationdir, direction, orientations`vertical`SymbolHorizontal or vertical orientation for bar types. Values `:h`, `:hor`, `:horizontal` correspond to horizontal (sideways, anchored to y-axis), and `:v`, `:vert`, and `:vertical` correspond to vertical (the default).
primaryprimarys`true`BoolDoes this count as a 'real series'? For example, you could have a path (primary), and a scatter (secondary) as 2 separate series, maybe with different data (see sticks recipe for an example). The secondary series will get the same color, etc as the primary.
quivergradient, quiver2d, quivers, vectorfield, velocity`nothing`AbstractVector or 2-Tuple of vectorsThe directional vectors U,V which specify velocity/gradient vectors for a quiver plot.
ribbonrib, ribbons`nothing`Number or AbstractVectorCreates a fillrange around the data points.
series_annotationsseries_ann, series_annotation, series_annotationss, series_anns, seriesann, seriesanns, text, texts, txt, txts`nothing`AbstractVector of String or PlotTextThese are annotations which are mapped to data points/positions.
seriesalphaalpha, opacity, seriesalphas, α`nothing`Number in [0,1]The alpha/opacity override for the series. `nothing` (the default) means it will take the alpha value of the color.
seriescolorc, color, colour, seriescolors`auto`Color TypeThe base color for this series. `:auto` (the default) will select a color from the subplot's `color_palette`, based on the order it was added to the subplot
seriestypelinetype, lt, seriestypes, st, t, typ`path`SymbolThis is the identifier of the type of visualization for this series. Choose from [:none, :line, :path, :steppre, :steppost, :sticks, :scatter, :heatmap, :hexbin, :barbins, :barhist, :histogram, :scatterbins, :scatterhist, :stepbins, :stephist, :bins2d, :histogram2d, :histogram3d, :density, :bar, :hline, :vline, :contour, :pie, :shape, :image, :path3d, :scatter3d, :surface, :wireframe, :contour3d, :volume] or any series recipes which are defined.
show_empty_binsshow_empty, show_empty_binss, showempty, showemptybins`false`BoolWhether empty bins in a 2D histogram are colored as 0 (true), or transparent (the default).
smoothreg, regression, smooths`false`BoolAdd a regression line?
stridestr, strides, surf_str, surface_stride, wirefame_stride
subplotsp, splt, subplots, subplt`auto`Integer (subplot index) or Subplot objectThe subplot that this series belongs to.
weightsweightss`nothing`AbstractVectorUsed in histogram types for weighted counts.
xxs`nothing`VariousInput data. First Dimension
xerrorxerr, xerrorbar, xerrors`nothing`AbstractVector or 2-Tuple of Vectorsx (horizontal) error relative to x-value. If 2-tuple of vectors, the first vector corresponds to the left error (and the second to the right)
yys`nothing`VariousInput data. Second Dimension
yerrorerr, errorbar, yerr, yerrorbar, yerrors`nothing`AbstractVector or 2-Tuple of Vectorsy (vertical) error relative to y-value. If 2-tuple of vectors, the first vector corresponds to the bottom error (and the second to the top)
zzs`nothing`VariousInput data. Third Dimension. May be wrapped by a `Surface` for surface and heatmap types.
zerrorzerr, zerrorbar, zerrors

(Automatically generated: 2020-05-21T15:11:59.711)