Multiplatform plotting library based on the Grammar of Graphics
MIT License
Bot releases are hidden (Show)
Published by VDovidaytis-HORIS almost 2 years ago
Published by VDovidaytis-HORIS almost 2 years ago
geom_text(), geom_label()
:
\n
) now works as line break
([#605])lineheight
aesthetic ([#324])nudge_x, nudge_y
parameters ([#324])vjust
and hjust
): "inward"
and "outward"
([#324])See: example notebook.
vjust
parameter in position_stack()
and position_fill()
[#323].
See: example notebook.
use_crs
parameter in geom_map()
and other geoms, working with GeoDataFrame
See: example notebook.
geom_imshow()
(former geom_image()
):
extent
parameter
See: example notebook.
vmin, vmax, cmap
parameters
See: example notebook.
image_matrix()
:
vmin, vmax, cmap
parameters
See: example notebook.
geom_image()
renamed to geom_imshow()
See updated examples: image 101,
Fisher's boat.
geom_boxplot()
: default value for parameter whisker_width
is 0.5.
Upgraded Kotlin version to 1.7.20 (was 1.6.21).
geom_livemap()
: add support of geom_label parameters [#601].norm
in geom_imshow()
.-
, /
, \
or |
present.geom_livemap()
doesn't load vector tiles inside iframe
with certain security policies.Published by VDovidaytis-HORIS almost 2 years ago
Published by VDovidaytis-HORIS about 2 years ago
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
hjust, vjust
for plot title, subtitle, caption, legend and axis titlesmargin
for plot title, subtitle, caption, axis titles and tick labelsThe 'newline' character (\n
) now works as line break
in axis title.
See: example notebook.
Parameter whisker_width
in geom_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].
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]
hjust
0 and 1 [#592].breaks
parameter in scales [#507].Published by VDovidaytis-HORIS about 2 years ago
Published by VDovidaytis-HORIS over 2 years ago
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:
geom_qq()
geom_qq_line()
geom_qq2()
geom_qq2_line()
qq_plot()
function in the bistro
module.See: example notebook.
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 in element_text()
.
See: example notebook.
panel_border
parameter in theme()
[#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()
and scale_fill_gradientn()
functions [#504].
See: example notebook.
geom_livemap
[breaking change] : symbol="point"
now should be specified explicitlygeom_point()
geometry layer.geom_boxplot
: displayed under the cursor.geom_violin
switched from systematic
to pick
.geom_livemap
: support of the arrow
parameter in geom_segment
[#131].geom_violin
: add missing parameters kernel
, bw
, adjust
, n
, fs_max
to signature and docstring.Published by VDovidaytis-HORIS over 2 years ago
Published by VDovidaytis-HORIS over 2 years ago
Plot subtitle and caption [#417]:
subtitle
parameter in ggtitle()
and labs()
,
caption
parameter in labs()
,
plot_subtitle
and plot_caption
parameters in theme()
.
See: example notebook.
The 'newline' character (\n
) now works as line break
in plot title, subtitle, caption and in legend title.
See: example notebook.
New in tooltip customization API:
title()
option defines a tooltip "title" text which will always appear above the rest of the tooltip content.\n
) now works as line break
in tooltips.See: example notebook.
Parameter scales
in facet_grid()/facet_wrap()
[#451,
#479].
See: example notebook.
New in geom_livemap()
:
Reset
button: returns the map widget to its initial zoom/location state.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.ontop
that controls z-index of the geom_livemap
layer.show_coord_pick_tools
to show "copy location" and "draw geometry" buttons.New geometries:
geom_violin()
See: example notebook.
geom_dotplot()
See: example notebook.
geom_ydotplot()
See: example notebook.
color()
will be removed in one of the future releases.geom_histogram(stat='density')
.Published by VDovidaytis-HORIS over 2 years ago
Published by VDovidaytis-HORIS over 2 years ago
Published by VDovidaytis-HORIS almost 3 years ago
scale_x_time()
and scale_y_time()
[#468].
See: example notebook.
plot_background, legend_background
parameters in theme()
[#485].
axis_ontop, axis_ontop_x, axis_ontop_y
parameters in theme()
coord_fixed()
should adjust dimensions of "geom" panel accordingly [#478].Published by VDovidaytis-HORIS almost 3 years ago
Published by VDovidaytis-HORIS almost 3 years ago
coord_flip()
.
See: example notebook.
Date-time formatting support:
See: example notebook.
Pre-configured themes:
theme_grey(), theme_light(), theme_classic(), theme_minimal()
;theme_minimal2()
- the default theme, theme_none()
.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() # new
stat_corr()
and "correlation stat" will be removed in one of the future releases.corr_plot()
plot builder object instead.Published by VDovidaytis-HORIS almost 3 years ago
Published by VDovidaytis-HORIS almost 3 years ago
Published by VDovidaytis-HORIS almost 3 years ago
Published by VDovidaytis-HORIS about 3 years ago
Ordering categories. New parameters in the as_discrete
function:
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:
{s}
for XYZ raster tiles.maptiles_solid()
.lets_plot.tilesets
module.max_zoom
pamareter in maptiles_zxy()
.map=geocoder
[#380]final void dispose()
method in PlotPanel.Published by VDovidaytis-HORIS about 3 years ago
Published by VDovidaytis-HORIS about 3 years ago
Published by VDovidaytis-HORIS over 3 years ago
kotlinx.html
version to 0.7.3 (was 0.7.2)In JVM projects it's no longer necessary to add
https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven
repository
to the project configuration.