Lets-Plot for Kotlin 4.13.0 Help

What Is New in 4.13.0

Kotlin: v2.2.20 (was v1.9.25).

  • Statistical Summaries Directly on geomSmooth() Plot Layer

    The geomSmooth() layer now includes a labels parameter designed to display statistical summaries of the fitted model directly on the plot. This parameter accepts a smoothLabels() object, which provides access to model-specific variables like and the regression equation.

    changelog/4.13.0/smooth_summary.png

    See: example notebook.

  • Plot Tags

    Plot tags are short labels attached to a plot.

    changelog/4.13.0/plot_tags.png

    See: example notebook and updated Plot Layout Diagrams.

  • New geomBracket() and geomBracketDodge() Geometries

    New geometries designed primarily for significance bars (p-values) annotations in categorical plots.

    changelog/4.13.0/geom_bracket.png

    See: example notebook.

  • Custom Color Palettes in geomImshow()

    The cmap parameter now allows you to specify a list of hex color codes for visualizing grayscale images. Also, the new cguide parameter lets you customize the colorbar for grayscale images.

    changelog/4.13.0/image_custom_cmap.png

    See: example notebook.

  • New palette() Method in Color Scales

    Generates a list of hex color codes that can be used with scaleColorManual() to maintain consistent colors across multiple plots.

    See: example notebook.

  • New overflow parameter in scaleColorBrewer(), scaleFillBrewer()

    Controls how colors are generated when more colors are needed than the palette provides. Options: 'interpolate' ('i'), 'cycle' ('c'), 'generate' ('g').

    See: example notebook.

  • New breakWidth Parameter in Positional Scales

    Specifies a fixed distance between axis breaks.

    See examples:

  • Axis Minor Ticks Customization

    The axisMinorTicks and axisMinorTicksLength parameters in theme().

    See: example notebook.

  • Pan/Zoom in gggrid() with Shared Axes

    Pan/Zoom now propagates across subplots with shared axes (sharex/sharey).

    See: example notebook.

  • And More

    See CHANGELOG.md for a full list of changes.

  • Raincloud plot

  • Lets-Plot GeoTools with texts and labels

  • Bitcoin daily trend visualization

  • Creating magnifier inset effect with ggbunch()

  • Theme legend scheme

  • Zoom and Pan interactivity

  • The observable LP-verse

  • Sunshine hours

Changelog

See CHANGELOG.md for other changes and fixes.

23 March 2026