Lets-Plot v2.5.1 Release Notes
Release Date: 2022-11-03 // over 2 years ago-
โ Added
geom_text(), geom_label()
:
See: example notebook.
vjust
parameter inposition_stack()
andposition_fill()
[#323].
See: example notebook.
use_crs
parameter ingeom_map()
and other geoms, working withGeoDataFrame
See: example notebook.
geom_imshow()
(formergeom_image()
):extent
parameter
See: example notebook.
vmin, vmax, cmap
parameters
See: example notebook.
image_matrix()
:vmin, vmax, cmap
parameters
See: example notebook.
๐ Changed
geom_image()
renamed togeom_imshow()
See updated examples: image 101, Fisher's boat.
0๏ธโฃ
geom_boxplot()
: default value for parameterwhisker_width
is 0.5.โฌ๏ธ Upgraded Kotlin version to 1.7.20 (was 1.6.21).
๐ Fixed
- element_blank() has no effect in theme legend_title [#608].
- ๐
geom_livemap()
: add support of geom_label parameters [#601]. - Tooltip: different formats for same aesthetic Y [#579].
- Positioning with "constant" x/y doesn't work on axis with log10 transform [#618].
- Positional "constant" doesn't honor axis limits [#619].
- Parameter
norm
ingeom_imshow()
. - Several issues leading to crush in Swing/Batik apps. Related to [discussions]
- Text labels got trimmed occasionally, when symbols
-
,/
,\
or|
present. - ๐
geom_livemap()
doesn't load vector tiles insideiframe
with certain security policies.
Previous changes from v2.5.0
-
โ 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].
- 0๏ธโฃ 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].
- ๐ New theme: