Releases: JetBrains/lets-plot
v4.4.1
[4.4.1] - 2024-08-21
Added
-
New variables computed by
'bin'
statistic:'..sumprop..'
,'..sumpct..'
[#1155].See: example notebook.
Fixed
v4.4.0
[4.4.0] - 2024-08-02
Added
-
Waterfall plot [#975]:
See example notebook.
-
geom_band()
[#733]:See example notebook.
-
Custom legends [#774]:
manual_key
parameter in plot layerlayer_key()
function
See example notebook.
-
In legends:
-
title
parameter inguide_legend()
andguide_colorbar()
functionsSee example notebook.
-
override_aes
parameter in theguide_legend()
function [#807]:See example notebook.
-
-
plot_title_position
andplot_caption_position
parameters intheme()
[#1027]:See example notebook.
-
threshold
parameter ingeom_histogram()
[#1122]:See example notebook.
-
Color scales using Matplotlib's colormap [#1110]:
Thanks to a contribution by Eric Gayer.
See example notebook.
Changed
- [breaking change]
guide_legend()
/guide_colorbar()
require keyword arguments for 'nrow'/'barwidth' and other parameters except 'title'. - The triangular point shape is now anchored to the data point via the centroid
as_discrete()
is added tolets-plot
wildcard import (i.e. when usingfrom lets-plot import *
)
Fixed
- ggsave (.svg) transforms geom_text integer to float [#626].
- Int DataFrame column names are being converted to float string representation [#901].
linetype
= 0 ('blank') should make lines invisible [#712].geom_density2d
: support weight aesthetic [#791].- Discrete axis labels unnecessarily rotate 90 degrees when applying coord system limits.
- Axis title via
labs()
breaks the date-time scale [#1113]. - JavaFX IllegalArgumentException: Unsupported attribute
display
in Pane.
v4.4.0rc1
Updated version v4.4.0rc1
v4.3.3
[4.3.3] - 2024-05-29
Added
- Support for "angle" aesthetic in
geom_point()
[#736].
See example notebook.
Changed
- [BREAKING] Dropped support for Python 3.7 as it is in the "end-of-life" of its release cycle.
Fixed
- Livemap: improve "tiles" documentation [#1093].
- Undesired vertical scroller when displaying
gggrid
in Jupyter notebook. - GeoJson structure breaks if the ring start label occurs several times [#1086].
theme
: left margin doesn't work for theplot_title
parameter [#1101].- Improve border line type experience [LPK-220].
v4.3.2
v4.3.1
[4.3.1] - 2024-04-16
Added
-
Parameter
dpi
inggsave()
,to_png()
andto_pdf()
functions [#839].See example notebook.
-
Parameter
labwidth
infacet_wrap()
andx_labwidth/y_labwidth
infacet_grid()
[LPK-237].See: example notebook.
-
Parameter
linetype
inelement_line()
andelement_rect()
intheme()
[LPK-235].See: example notebook.
-
Parameter
arrow
ingeom_spoke()
[#986].See: example notebook.
-
Parameter
size_unit
ingeom_point()
,geom_text()
andgeom_label()
.See: example notebook.
-
Auto-detection of
orientation="y"
in bar-chart etc. [#558].See: example notebook.
-
Parameter
plot_inset
intheme()
.See: example notebook.
Fixed
- ggmarginal(): broken coloring [#760].
- Incorrect 'plot_background' area (with empty space capture) [#918].
- geom_density2df: uneven borders [#941].
- DateTime is not recognised in polars.DataFrame [#961].
- Support geom_spoke() in geom_livemap() [#988].
- NASA BlueMarble tiles have become blank [#1000].
- Line segments in geom_density2df() do not get interpolated when used with coord_polar() [#1037].
- arrow on segment: reduce arrow size for short segments [#1040].
- arrow on curve sometimes looks weird [#1041].
- livemap: when release the mouse button from outside the map, it gets stuck in panning mode [#1044].
- Improve documentation for parameter
position
[#1047]. - Error when build geom_smooth() with se=False [#1050].
- Livemap:
vjust
implemented incorrectly [#1051]. - Add tooltips for
geom_curve()
[#1053]. - Incorrect position for bar annotations when specifying
scale_x_reverse()/scale_y_reverse()
[#1057]. - Missing outer bar annotations when specifying
scale_x_reverse()/scale_y_reverse()
[#1058]. geom_density2d
: the doc missing some 'computed' variables [#1062].- Weird and problematic behavior : lets-plot does not respect x and y. Sizing problem ?[#1068].
- Plot layout breaks when marginal layers are used #1074 [#1074].
- Discrete scale doesn't work for datetime data [LPK-231].
- Add
linetype
parameter inelementLine()
andelementRect()
[LPK-235]. - Any way to line-wrap facet labels? [LPK-237].
- Missing marginal gridlines.
- Cryptic error message on geom_boxplot with orientation="y" [#600].
set_theme()
should accept "feature list" [#657].
v4.3.1rc1
Updated version v4.3.1rc1
v4.3.0
[4.3.0] - 2024-03-07
Added
-
coord_polar()
The polar coordinate system is most commonly used for pie charts, but
it can also be used for constructing Spyder or Radar charts using theflat
option.See: example notebook.
-
In the
theme()
function:-
panel_inset
parameter - primarily used for plots with polar coordinates.See: example notebook.
-
panel_border_ontop
parameter - enables the drawing of panel border on top of the plot geoms. -
panel_grid_ontop, panel_grid_ontop_x, panel_grid_ontop_y
parameters - enable the drawing of grid lines on top of the plot geoms.
-
-
geom_curve()
See: example notebook.
-
[UNIQUE] Visualizing graph-like data with
geom_segment()
andgeom_curve()
.-
Aesthetics
size_start, size_end, stroke_start
andstroke_end
enable better alignment of
segments/curves with nodes of the graph by considering the size of the nodes. -
The
spacer
parameter allows for additional manual fine-tuning.
See:
-
-
alpha_stroke
parameter ingeom_label()
to enable the applying ofalpha
tocolor
[#1029].See: example notebook.
-
Showing plots in external browser
The
LetsPlot.setup_show_ext()
directive allows plots to be displayed in an external browser window.
Changed
- [BREAKING] Function
geom_image()
is removed. Please usegeom_imshow()
instead. - Parameter
axis_ontop
intheme()
is nowTrue
by default.
Fixed
- coord_map() should distort tiles size to account for different unit size at different latitudes[#331].
- geom_errorbar(): wrong positioning of tooltips [#992].
- geom_path(): tooltip position interpolation [#855].
- Stacked bar-chart annotation: labels go out of the plot when zooming-in using coord_cartesian(xlim, ylim) [#981].
- Facets: "free scales" options are ignored by discrete axis [#955].
- Bar width is too large when x-domain is defined via x-scale limits [#1013].
- How to hide only main tooltip? [LPK-#232].
- Make middle strip in
geomCrossbar()
optional [LPK-233]. - Can't set None for coord limit [#486].
- Scale limits don't work for bars/area [LPK-219], [#978].
- No gridlines when axis_ontop=True [#1012].
- bar-plot: do not draw bar border adjacent to the axis [#845].
- Displaying tooltips on a multilayer plot [#1030].
- Make segment geometry better suited for graphs visualization [#572].
v4.3.0rc2
Updated version v4.3.0rc2
v4.3.0rc1
Updated version v4.3.0rc1