v4.0.0
[4.0.0] - 2023-08-17
Added
-
Flavor-aware colors: pen, brush and paper
- By default, all geometries utilize new flavor-aware colors.
- Theme
geom
parameter allows redefinition of "geom colors":theme(geom=element_geom(pen, brush,paper))
.
See: example notebook.
-
stat_summary()
:
example notebook. -
stat_summary_bin()
:
example notebook. -
stat_ecdf()
:
example notebook. -
geom_function()
:
example notebook. -
theme_void()
[#830] :
example notebook. -
"sum"
statistic [#821]:
example notebook. -
"boxplot_outlier"
statistic: example notebook. -
Support for variadic line width and/or color in
geom_line()
andgeom_path()
[#313]. -
In tooltip customization API:
disable_splitting()
function [LPK-189]. -
In
geom_pie()
:stroke
andcolor
aesthetics - the width and color of pie sector arcs.stroke_side
parameter - which arcs to show (inner, outer, both).spacer_width
andspacer_color
parameters - lines between sectors.
See: example notebook.
size_unit
parameter : example notebook.
Changed
-
The default qualitative color palette is now Color Brewer "Set1" (was "Set2")
-
Geometries default colors are now flavor-dependent: example notebook.
-
Geometries default size/line-width is now slightly bigger.
-
Point size is adjusted to match the width of a line of the same "size".
-
[BREAKING]
geom_pie()
no longer supports parameterstroke_color
. -
[BREAKING]
geom_boxplot()
no longer support parametersampling
. -
[BREAKING]
geom_pointrange()
:size
aesthetic shouldn't affect line width [#751]:linewidth
aesthetic is used for line width,size
- for mid-point size only. -
geom_boxplot()
:size
andstroke
parameters now affect outlier shapes. -
[BREAKING, only affects users of Lets-Plot Kotlin API]
The entire project has undergone package refactoring.
As a result of package names changed, Lets-Plot v4.0.0 is partially incompatible
with Lets-Plot Kotlin API versions 4.4.1 and earlier.
Fixed
ggsave()
doesn't save geom_raster() layer to a file [#778].ggsave()
: saving geomImshow() to SVG produces fuzzy picture [LPK-188].ggsave()
: saving geomImshow() to raster format produces fuzzy picture.geom_crossbar()
aesthetics takemiddle
argument instead ofy
[#804].geom_boxplot()
doesn't apply alpha to outliers [#754].geom_boxplot()
outliers do not show tooltips.geom_step()
no tooltips.geom_step()
: toggle the behavior of thedirection
parameter when the orientation is changed.geom_livemap()
: memory leak when re-run cells without reloading a page.geom_ribbon()
: not all tooltips are shown on a multi-layer plot [#847].- Bug in empty plot: IndexOutOfBoundsException [#194].
- Weird tooltip/legend in case of extremely long value [#315].
- panning on interactive map should be more responsive [#336].
- Offline mode doesn't work with manylinux wheels [#808].