Releases: JetBrains/lets-plot
v2.5.1rc1
Updated version v2.5.1rc1
v2.5.0
[2.5.0] - 2022-09-29
Added
-
New theme:
theme_bw()
[#554].See: example notebook.
-
Color schemes (flavors) applicable to existing themes:
flavor_darcula()
flavor_solarized_light()
flavor_solarized_dark()
flavor_high_contrast_light()
flavor_high_contrast_dark()
See: example notebook.
-
Viridis color scales:
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 asline break
in axis title.See: example notebook.
-
Parameter
whisker_width
ingeom_boxplot()
[#549].See: example notebook.
-
New geometry
geom_label()
[#557].See: example notebook.
-
Auto-detection of Databricks and NextJournal environments [#602].
-
Python wheels for manylinux arm64 architecture [#581].
Changed
-
New tooltip style after applying
coord_flip()
[#580].See: example notebook.
-
In Lets-Plot for Java/Swing, Apache Batik upgraded to v.1.15 [#604]
Fixed
- Density and area geoms: preserve the z-order when grouping [#552].
- Allow to import all 'bistro' functions just by '*' [#551].
- Boxplot, violin, crossbar: position dodge width=0.95 should be used by default [#553].
- Tooltip is shown not for the nearest object [#574].
- Tooltip is not displayed for the object on the plots border [#575].
- The plot caption overlaps with the legend [#587].
- Unclear size unit of width [#589].
- Specify size units in docstrings [#597].
- No tooltips for geom_boxplot with zero height [#563].
- geom_text: wrong label alignment with
hjust
0 and 1 [#592]. - Error when using lets-plot in streamlit [#595].
- Documentation for the
breaks
parameter in scales [#507].
v2.5.0rc1
Updated version v2.5.0rc1
v2.4.0
[2.4.0] - 2022-06-20
Added
-
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.
-
Quantile-Quantile (Q-Q) plot:
- geometries:
geom_qq()
geom_qq_line()
geom_qq2()
geom_qq2_line()
- quick Q-Q : the
qq_plot()
function in thebistro
module.
See: example notebook.
- geometries:
-
Marginal plots: the
ggmarginal()
function [#200],
[#384].See: example notebook.
-
Parameter
orientation
in geoms:bar, boxplot, density, histogram, freqpoly, smooth, violin
.See: example notebook.
-
New in plot theme:
-
face
parameter inelement_text()
.See: example notebook.
-
panel_border
parameter intheme()
[#542].See: example notebook.
-
Tooltip theme options, new parameters in
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()
andscale_fill_gradientn()
functions [#504].See: example notebook.
Changed
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
thegeom_point()
geometry layer.- New style of tooltip color marker (two sidebars with a stroke color)
and symbols in legend (rectangle with a stroke instead of a slash-line). - New type of general tooltip for
geom_boxplot
: displayed under the cursor. - Default sampling type for
geom_violin
switched fromsystematic
topick
.
Fixed
geom_livemap
: support of thearrow
parameter ingeom_segment
[#131].- Differences in tooltip color marker for plots with and without livemap.
- Labels out of plot when axis_text_y='blank' [#525].
- NPE in corr_plot with null coefficients.
- Outliers are not shown when boxplot' alpha=0.
- Support for polars.DataFrame [#526].
- JFX rendering issue that causes tooltips to stuck [#539].
- Support trim parameter in density and ydensity stats [#62].
- Unexpected point geometries on geom_livemap() [#547].
geom_violin
: add missing parameterskernel
,bw
,adjust
,n
,fs_max
to signature and docstring.
v2.4.0rc1
Updated version v2.4.0rc1
v2.3.0
[2.3.0] - 2022-03-21
Added
-
Plot subtitle and caption [#417]:
subtitle
parameter inggtitle()
andlabs()
,
caption
parameter inlabs()
,
plot_subtitle
andplot_caption
parameters intheme()
.See: example notebook.
-
The 'newline' character (
\n
) now works asline break
in 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 break
in tooltips. - Automatic word wrap: occurs when the length of a text value in tooltip exceeds the 30 characters limit.
See: example notebook.
- The
-
Parameter
scales
infacet_grid()/facet_wrap()
[#451,
#479].See: example notebook.
-
New in
geom_livemap()
:- The
Reset
button: 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
ontop
that controls z-index of thegeom_livemap
layer. - Parameter
show_coord_pick_tools
to 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:lets-plot-image-export@2.2.1 [#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_background
parameters intheme()
[#485]. -
axis_ontop, axis_ontop_x, axis_ontop_y
parameters 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