geom_text(), geom_label():
See: example notebook.
vjust parameter in position_stack() and position_fill() [#323].See: example notebook.
use_crs parameter in geom_map() and other geoms, working with GeoDataFrameSee: example notebook.
geom_imshow() (former geom_image()):
extent parameterSee: example notebook.
vmin, vmax, cmap parametersSee: example notebook.
image_matrix():
vmin, vmax, cmap parametersSee: example notebook.
geom_image() renamed to geom_imshow()See updated examples: image 101, Fisher's boat.
0οΈβ£ geom_boxplot(): default value for parameter whisker_width is 0.5.
β¬οΈ Upgraded Kotlin version to 1.7.20 (was 1.6.21).
geom_livemap(): add support of geom_label parameters [#601].norm in geom_imshow().-, /, \ or | present.geom_livemap() doesn't load vector tiles inside iframe with certain security policies.theme_bw() [#554].See: example notebook.
flavor_darcula()flavor_solarized_light()flavor_solarized_dark()flavor_high_contrast_light()flavor_high_contrast_dark()See: example notebook.
scale_color_viridis(), scale_fill_viridis().See: example notebook.
π New parameters in element_text() [#562]:
size, family
(example notebook)hjust, vjust for plot title, subtitle, caption, legend and axis titles
(example notebook)margin for plot title, subtitle, caption, axis titles and tick labels
(example notebook)The 'newline' character (\n) now works as line break in axis title.
See: example notebook.
whisker_width in geom_boxplot() [#549].See: example notebook.
geom_label() [#557].See: example notebook.
Auto-detection of Databricks and NextJournal environments [#602].
π§ Python wheels for manylinux arm64 architecture [#581].
coord_flip() [#580].See: example notebook.
hjust 0 and 1 [#592].breaks parameter in scales [#507].π Python 3.10 support [#505].
π Python 3.9: a Python wheel for macOS arm64 architecture (Apple Silicon).
π§ LetsPlot.set_theme() - configuring a default plot theme.
See: example notebook.
geom_qq()geom_qq_line()geom_qq2()geom_qq2_line()qq_plot() function in the bistro module.See: example notebook.
See: example notebook.
orientation in geoms: bar, boxplot, density, histogram, freqpoly, smooth, violin.See: example notebook.
New in plot theme:
face parameter in element_text().See: example notebook.
panel_border parameter in theme() [#542].See: example notebook.
theme():tooltip - tooltip rectangle options;tooltip_text, tooltip_title_text - tooltip text options;axis_tooltip_text, axis_tooltip_text_x, axis_tooltip_text_y - axis tooltip text options.See: example notebook.
scale_color_gradientn() and scale_fill_gradientn() functions [#504].
See: example notebook.
geom_livemap [breaking change] : symbol="point" now should be specified explicitly
to enable the "livemap" layer to handle provided
"point" aesthetics directly. This change doesn't affect "points" layers added via
the geom_point() geometry layer.geom_boxplot: displayed under the cursor.geom_violin switched from systematic to pick.geom_livemap: support of the arrow parameter in geom_segment [#131].geom_violin: add missing parameters kernel, bw, adjust, n, fs_max to signature and docstring.subtitle parameter in ggtitle() and labs(),
caption parameter in labs(),
plot_subtitle and plot_caption parameters in theme().See: example notebook.
\n) now works as line break in plot title, subtitle, caption and in legend title.See: example notebook.
title() option defines a tooltip "title" text which will always appear above the rest of the tooltip content.\n) now works as line break in tooltips.See: example notebook.
See: example notebook.
π New in geom_livemap():
Reset button: returns the map widget to its initial zoom/location state.data_size_zoomin, const_size_zoomin: allow configuring how zooming-in of the map widget increases size of geometry objects (circles, lines etc.) on map.ontop that controls z-index of the geom_livemap layer.show_coord_pick_tools to show "copy location" and "draw geometry" buttons.π New geometries:
geom_violin()See: example notebook.
geom_dotplot()See: example notebook.
geom_ydotplot()See: example notebook.
color() will be removed in one of the future releases.geom_histogram(stat='density').scale_x_time() and scale_y_time() [#468].See: example notebook.
plot_background, legend_background parameters in theme() [#485].axis_ontop, axis_ontop_x, axis_ontop_y parameters in theme()coord_fixed() should adjust dimensions of "geom" panel accordingly [#478].coord_flip().See: example notebook.
See: example notebook.
π§ Pre-configured themes:
theme_grey(), theme_light(), theme_classic(), theme_minimal();theme_minimal2() - the default theme, theme_none().Theme modification: more parameters were added to the theme() function.
See: example notebook.
π§ > Note: fonts size, family and face still can not be configured.
corr_plot() function now also accepts pre-computed correlation coefficients. I.e. the following two expressions are equivalent:
python
corr_plot(iris_df).points().labels().build()
corr_plot(iris_df.corr()).points().labels().build() # new
stat_corr() and "correlation stat" will be removed in one of the future releases.
Please use the corr_plot() plot builder object instead.as_discrete function:
order_by (string) - the name of the variable by which the ordering will be performed;order (int) - the ordering direction - 1 for ascending direction and -1 for descending (default value).See: as_discrete.
{s} for XYZ raster tiles.maptiles_solid().lets_plot.tilesets module.See: Configuring basemap tiles.
max_zoom pamareter in maptiles_zxy().map=geocoder [#380]dispose() method in PlotPanel.kotlinx.html version to 0.7.3 (was 0.7.2)
> In JVM projects it's no longer necessary to add https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven repository
π§ > to the project configuration.layer_tooltips(variables) - the new parameter variables defines a list of variable names, which values will be placed line by line in the general tooltip.
See: Tooltip Customization.