Package-level declarations
Examples
scaleColorManual(),scaleFillManual(): error_bars.ipynbscaleXContinuous(),scaleShapeManual(): scatter_plot.ipynbscaleColorGradient(): density_2d.ipynbscaleFillHue(),scaleFillGrey(),scaleColorGradient(): contours.ipynbViridis color scales: colors_viridis.ipynb
Functions
Continuous color bar guide. Color bar guide shows continuous color scales mapped onto values. Color bar is available with scaleFill and scaleColor.
Legend guide. Legend type guide shows key (i.e., geoms) mapped onto values.
Function to set guides for scales. Sets the mapping between scale and guide. The guide can either be a string ("colorbar"/"legend" or "none" to hide the guide) or a call to a guide function (guideColorbar()/guideLegend()) specifying additional arguments.
Function to configure a custom legend.
Scales for alpha aesthetic.
Use this scale when your data has already been scaled. I.e. it already represents aesthetic values that can handle directly. This will not produce a legend unless you also supply the breaks and labels.
Sequential, diverging and qualitative color scales from colorbrewer.org for the specified aesthetics.
Sequential, diverging and qualitative color scales from colorbrewer.org for color aesthetic.
Default color scale for color aesthetic and continuous data.
Qualitative color scale for color aesthetic. Defaults to the Brewer 'Set1' palette.
Defines smooth color gradient between two colors (low-high) for color aesthetic.
Defines diverging color gradient (low-mid-high) for color aesthetic.
Defines smooth color gradient between multiple colors for color aesthetic.
Sequential grey color scale for color aesthetic.
Qualitative color scale with evenly spaced hues for color aesthetic.
Use this scale when your data has already been scaled. I.e. it already represents aesthetic values that can handle directly. This will not produce a legend unless you also supply the breaks and labels.
The viridis color maps are designed to be perceptually-uniform, both in regular form and also when converted to black-and-white.
General purpose scale for continuous data. Use it to adjust most common properties of a default scale for given aesthetic.
General purpose scale for discrete data. Use it to adjust most common properties of a default scale for given aesthetic.
Sequential, diverging and qualitative color scales from colorbrewer.org for fill aesthetic.
Default color scale for fill aesthetic and continuous data.
Qualitative color scale for fill aesthetic. Defaults to the Brewer 'Set1' palette.
Defines smooth color gradient between two colors (low-high) for fill aesthetic.
Defines diverging color gradient (low-mid-high) for fill aesthetic.
Defines smooth color gradient between multiple colors for fill aesthetic.
Sequential grey color scale for fill aesthetic.
Qualitative color scale with evenly spaced hues for fill aesthetic.
Use this scale when your data has already been scaled. I.e. it already represents aesthetic values that can handle directly. This will not produce a legend unless you also supply the breaks and labels.
The viridis color maps are designed to be perceptually-uniform, both in regular form and also when converted to black-and-white.
Defines smooth color gradient between two colors for the specified aesthetics.
Defines diverging color gradient (low-mid-high) for the specified aesthetics.
Defines smooth color gradient between multiple colors for the specified aesthetics.
Sequential grey color scale for the specified aesthetics.
Qualitative color scale with evenly spaced hues for the specified aesthetics.
Use this scale when your data has already been scaled. I.e. it already represents aesthetic values that can handle directly. This will not produce a legend unless you also supply the breaks and labels.
Use this scale when your data has already been scaled. I.e. it already represents aesthetic values that can handle directly. This will not produce a legend unless you also supply the breaks and labels.
Use this scale when your data has already been scaled. I.e. it already represents aesthetic values that can be handled directly. This will not produce a legend unless you also supply the breaks and labels.
Use this scale when your data has already been scaled. I.e. it already represents aesthetic values that can handle directly. This will not produce a legend unless you also supply the breaks and labels.
Continuous scale for size (~radius).
Continuous scale for size (~radius) that maps 0 value to 0 size.
Use this scale when your data has already been scaled. I.e. it already represents aesthetic values that can handle directly. This will not produce a legend unless you also supply the breaks and labels.
Use this scale when your data has already been scaled. I.e. it already represents aesthetic values that can be handled directly. This will not produce a legend unless you also supply the breaks and labels.
The viridis color maps are designed to be perceptually-uniform, both in regular form and also when converted to black-and-white.
Continuous scale for x-axis.
Position scale for the x-axis with date/time data. The input is expected to be either a series of integers representing milliseconds since the Unix epoch, or kotlinx.datetime, or java.util datetime objects. Assumes UTC timezone if no timezone information is present in the data (naive datetime). For timezone-aware datetime objects, the timezone information from the data is preserved.
Continuous position scale (x) where trans="log10".
Continuous position scale (x) where trans="log2".
Continuous position scales (x) where trans="reverse".
Continuous position scales (x) where trans="sqrt".
Position scale x for data representing "time delta" values expressed in milliseconds.
Continuous scale for y-axis.
Position scale for the y-axis with date/time data. The input is expected to be either a series of integers representing milliseconds since the Unix epoch, or kotlinx.datetime, or java.util datetime objects. Assumes UTC timezone if no timezone information is present in the data (naive datetime). For timezone-aware datetime objects, the timezone information from the data is preserved.
Continuous position scale (y) where trans="log10".
Continuous position scale (y) where trans="log2".
Continuous position scales (y) where trans="reverse".
Continuous position scales (y) where trans="sqrt".
Position scale y for data representing "time delta" values expressed in milliseconds.