Releases: JetBrains/lets-plot
v2.3.0
[2.3.0] - 2022-03-21
Added
-
Plot subtitle and caption [#417]:
subtitleparameter inggtitle()andlabs(),
captionparameter inlabs(),
plot_subtitleandplot_captionparameters intheme().See: example notebook.
-
The 'newline' character (
\n) now works asline breakin plot title, subtitle, caption and in legend title.See: example notebook.
-
New in tooltip customization API:
- The
title()option defines a tooltip "title" text which will always appear above the rest of the tooltip content. - The 'newline' character (
\n) now works asline breakin tooltips. - Automatic word wrap: occurs when the length of a text value in tooltip exceeds the 30 characters limit.
See: example notebook.
- The
-
Parameter
scalesinfacet_grid()/facet_wrap()[#451,
#479].See: example notebook.
-
New in
geom_livemap():- The
Resetbutton: returns the map widget to its initial zoom/location state. - Parameters
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. - Parameter
ontopthat controls z-index of thegeom_livemaplayer. - Parameter
show_coord_pick_toolsto show "copy location" and "draw geometry" buttons.
- The
-
New geometries:
geom_violin()
See: example notebook.
geom_dotplot()
See: example notebook.
geom_ydotplot()
See: example notebook.
Changed
- New tooltip style: rounded corners, bold label, colored marker inside the tooltip.
- Deprecated tooltip customization API:
functioncolor()will be removed in one of the future releases. - 'Auto shrink': plots automatically shrink when necessary to fit width of the output (notebook) cell [#488].
Fixed
- LiveMap, Swing-batik: legend is not visible when overlapping map [#496].
- CVE-2021-23792 in org.jetbrains.lets-plot:[email protected] [#497].
- Color in tooltip does not correspond to the color of marker on map [#227].
- tooltip on livemap: hide tooltip when the cursor is over the controls [#335].
- Automatic detection of DateTime series [#99].
- Fix tooltips for
geom_histogram(stat='density'). - The axis tooltip overlaps the general tooltip [#515].
- The multi-layer tooltip detection strategy will only be used if more than one layer provides tooltips.
- scaleColorManual Divide by Zero with 1 mapping [#506].
- LinearBreaksHelper$Companion.computeNiceBreaks out of memory error [#105].
v2.3.0rc2
Updated version v2.3.0rc2
v2.3.0rc1
Updated version v2.3.0rc1
v2.2.1
[2.2.1] - 2021-12-10
Added
-
scale_x_time()andscale_y_time()[#468].See: example notebook.
-
plot_background, legend_backgroundparameters intheme()[#485]. -
axis_ontop, axis_ontop_x, axis_ontop_yparameters intheme()
Fixed
- Coord system limits do not work with x/y scale with transform [#474].
- Provide 0-23 hour formatting [#469].
- No tooltip shown when I'm trying to add an empty line [#382].
coord_fixed()should adjust dimensions of "geom" panel accordingly [#478].- The tooltip dependence on number of factors works separately by layers [#481].
- Tooltip on y-axis looks wrong [#393].
- Is kotlin-reflect really needed for lets-plot? [#471].
v2.2.1rc1
Updated version v2.2.1rc1
v2.2.0
[2.2.0] - 2021-10-29
Added
-
coord_flip().See: example notebook.
-
Date-time formatting support:
- tooltip format() should understand date-time format pattern [#387];
- scale_x_datetime should apply date-time formatting to the breaks [#392].
See: example notebook.
-
Pre-configured themes:
- Standard ggplot2 themes:
theme_grey(), theme_light(), theme_classic(), theme_minimal(); - Other themes:
theme_minimal2()- the default theme,theme_none().
- Standard ggplot2 themes:
-
Theme modification: more parameters were added 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:
corr_plot(iris_df).points().labels().build()
corr_plot(iris_df.corr()).points().labels().build() # newChanged
- The size of fonts on plot was slightly increased all across the board.
- The default plot size was increased by 20%, it's now 600x400 px.
- Deprecated API:
stat_corr()and "correlation stat" will be removed in one of the future releases.
Please use thecorr_plot()plot builder object instead.
Fixed
- Ordering facets - the "order" value 0 disables facet ordering [#454].
- Tooltips for discrete variables: add the dependence of the tooltip on the number of factors.
The X-axis tooltip is always shown for discrete data. - map_join doesn't work when join variables with same names without mappings [#428].
- Zoom without clipping breaks tooltips [#373].
- Unreadable breaks on axis [#430].
- Map rendering is broken when browser uses scaling [#450].
- corr_plot() error for data with zero variation [#329].
- Misleading error message [#271].
v2.2.0rc3
Updated version v2.2.0rc3
v2.2.0rc2
Updated version v2.2.0rc2
v2.2.0rc1
Updated version v2.2.0rc1
v2.1.0
[2.1.0] - 2021-08-16
Added
-
Ordering categories. New parameters in the
as_discretefunction: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.
-
Basemap tiles configuring:
- Subdomains parameter
{s}for XYZ raster tiles. - Solid color tiles:
maptiles_solid(). - Builtin configurations for some 3rd party maptile services. The
lets_plot.tilesetsmodule.
- Subdomains parameter
Changed
- Upgraded Apach Batik version to 1.14 (was 1.12) [#398].
- Upgraded Kotlin version to 1.5.21 (was 1.4.21)
- Upgraded Gradle version to 7.1.1 (was 6.8.3)
Fixed
- geom_livemap: properly handle
max_zoompamareter inmaptiles_zxy(). - Strange looking legend for tiles [#245].
- Need to skip "bad" values during scale transformation [#301].
- NPE on negative value in data and scale_xxx(trans='log10') [#292].
- Legend is broken when using scale_fill_brewer with 'trans' parameter [#284].
- Scale breaks should be distributed evenly on 'sqrt' scale. [#407].
- Wrong tooltip formatting when used with log10 scales [#406].
- Bad axis labels when using both plot and layer data [#327].
- Plot layout looks wrong [#403].
- map_join is not working correctly when
map=geocoder[#380] - Tooltip default formatting should not change after adding other variables to tooltip [#388].
- Tooltip on axis: increase the font size. [#399].
- Tooltip format for variable is not working [#401].
- Wrong direction in colorbars (legend) [#204].
- geom_jitter: show axis tooltips (same as geom_point) [#412].
- Outlier tooltips: the spout sometime is too long (boxplot) [#358].
- Faceted plot is broken by geom with "constant" aesthetics [#391].
- Interactive maps in AWT (PyCharm plugin):
- A memory leak in PyCharm caused by a
final void dispose()method in PlotPanel. - When showing map in PyCharm CPU is busy all the time, even then nothing is changing on screen.
- Click events detection.
- A memory leak in PyCharm caused by a