Update dependency org.jetbrains.lets-plot:lets-plot-image-export to v4 - #22
Open
renovate[bot] wants to merge 3 commits into
Open
Update dependency org.jetbrains.lets-plot:lets-plot-image-export to v4#22renovate[bot] wants to merge 3 commits into
renovate[bot] wants to merge 3 commits into
Conversation
renovate
Bot
force-pushed
the
renovate/org.jetbrains.lets-plot-lets-plot-image-export-4.x
branch
from
July 12, 2024 21:51
0f23a72 to
4beef73
Compare
renovate
Bot
force-pushed
the
renovate/org.jetbrains.lets-plot-lets-plot-image-export-4.x
branch
from
August 2, 2024 17:08
4beef73 to
f0c36ed
Compare
renovate
Bot
force-pushed
the
renovate/org.jetbrains.lets-plot-lets-plot-image-export-4.x
branch
from
August 21, 2024 18:20
f0c36ed to
9755217
Compare
renovate
Bot
force-pushed
the
renovate/org.jetbrains.lets-plot-lets-plot-image-export-4.x
branch
from
October 8, 2024 13:54
9755217 to
d242d8c
Compare
renovate
Bot
force-pushed
the
renovate/org.jetbrains.lets-plot-lets-plot-image-export-4.x
branch
2 times, most recently
from
October 25, 2024 18:23
0c591b5 to
b589de0
Compare
renovate
Bot
force-pushed
the
renovate/org.jetbrains.lets-plot-lets-plot-image-export-4.x
branch
from
December 13, 2024 19:07
b589de0 to
7876da6
Compare
renovate
Bot
force-pushed
the
renovate/org.jetbrains.lets-plot-lets-plot-image-export-4.x
branch
2 times, most recently
from
March 7, 2025 18:15
d1def7f to
b76ae4e
Compare
renovate
Bot
force-pushed
the
renovate/org.jetbrains.lets-plot-lets-plot-image-export-4.x
branch
from
March 28, 2025 16:35
b76ae4e to
f7c4b82
Compare
renovate
Bot
force-pushed
the
renovate/org.jetbrains.lets-plot-lets-plot-image-export-4.x
branch
from
July 17, 2025 20:58
f7c4b82 to
87c943c
Compare
renovate
Bot
force-pushed
the
renovate/org.jetbrains.lets-plot-lets-plot-image-export-4.x
branch
from
August 13, 2025 19:13
87c943c to
c34e155
Compare
renovate
Bot
force-pushed
the
renovate/org.jetbrains.lets-plot-lets-plot-image-export-4.x
branch
from
September 2, 2025 00:13
c34e155 to
91c414e
Compare
renovate
Bot
force-pushed
the
renovate/org.jetbrains.lets-plot-lets-plot-image-export-4.x
branch
from
September 13, 2025 23:09
91c414e to
e599e79
Compare
renovate
Bot
force-pushed
the
renovate/org.jetbrains.lets-plot-lets-plot-image-export-4.x
branch
from
March 1, 2026 18:12
e599e79 to
17cdd20
Compare
renovate
Bot
force-pushed
the
renovate/org.jetbrains.lets-plot-lets-plot-image-export-4.x
branch
from
March 5, 2026 09:14
17cdd20 to
697f0e0
Compare
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.5.1→4.8.2Release Notes
JetBrains/lets-plot (org.jetbrains.lets-plot:lets-plot-image-export)
v4.8.2Fixed
v4.8.1Fixed
stat_ecdf()takes a very long time for even moderately sized datasets [#1424].gggrid()subplots.v4.8.0Added
Geometries:
geom_pointdensity()[#1370].See: example notebook.
Geoms with 1-to-1 statistics (such as
geom_qq(),geom_sina()) preserve the mapping to original data after statistical transformation.See: example notebook.
geom_histogram(): custom bin bounds (parameterbreaks) [#1382].See: example notebook.
Plot Layout:
The legend automatically wraps to prevent overlap - up to 15 rows for vertical legends and 5 columns for horizontal ones [#1235].
See: example notebook.
gggrid(): support for shared legends (parameterguides).See: example notebook.
Plot Theme:
flavor_standard()sets the theme's default color scheme [#1277].Use to override other flavors or make defaults explicit.
See: example notebook.
theme_gray()as an alias fortheme_grey().legend_justificationparameter oftheme()accepts additional string values:'left','right','top', and'bottom'.See: example notebook.
Support for inward axis ticks.
See: example notebook.
Markdown:
targetattribute for links.ggtb():size_zoominandsize_basisparameters for geometry scaling [#1369].See: example notebook.
Changed
[BREAKING] Explicit
groupaesthetic now overrides default grouping behavior instead of combining with it [#1401].See: example notebook.
Missing values in
geom_line(), geom_path(), geom_ribbon(), andgeom_area()create gaps in geometries instead of being interpolated over [#818], [#1406].See: example notebook.
theme: theexponent_formatdefault value changed to'pow'- superscript powers of 10 (was e-notation).The multi-layer line plot now shows tooltips for each series simultaneously, in the same way that a single-layer plot with color mapped to series does.
Fixed
geom_pieon geospatioal plot withmap_joinfailes to render without explicitgroupaesthetic.v4.7.3Changed
ggsave(): Large plot dimensions without units now require explicit unit specification.When plot size exceeds 20 without specifying units (e.g.,
ggsave(p, 300, 400)),we ask to specify units explicitly:
ggsave(p, 300, 400, unit='px')orggsave(p, 3, 4, unit='in').Fixed
ggtb()support in Swing/Batik frontend.ggsave()is specified in pixels,dpinow affectsonly the physical size, not the pixel dimensions as before.
SwingUtilities.invokeAndWait()call in plot image export (AWT backend)Internal Memo
Lets-Plot VL spec transformer removed—relocated to another repository
v4.7.2Added
Plot Layout:
strip_spacing,strip_spacing_x, andstrip_spacing_yparameters intheme()to control spacing between the facet strip (title bar) and the plot panel.panel_spacing,panel_spacing_x, andpanel_spacing_yparameters intheme()to control spacing between plot panels in faceted plots, [#1380].See: example notebook.
Image resolution is saved in the metadata of PNG files created with
ggsave().Changed
Fixed
geom_raster().ggsave()without specifyingdpi.v4.7.1Added
pxunit support for PNG and PDF formats.w,handunitparameters support for SVG [#1368].Changed
facet_wrap()now drops factor levels that do not appear in the data (i.e., empty panels) by default [#1322].To keep unused factor levels, use the new
dropparameter, i.e.,drop=False.See: example notebook.
Removed extra spacing between facet strips and plot panels in
facet_wrap()andfacet_grid().Fixed
Enumvalues [#1373]v4.7.0Added
Time Series Plotting [#278],
[discussion],
[#678],
[LPK-129]:
timeanddateobjects.datetimeobjects and Pandas/PolarsSeries.See: example notebook.
Geometries:
geom_sina()[#1298].See: example notebook.
geom_text_repel()andgeom_label_repel()[#1092].See: example notebook.
Layer Labels (Annotations):
Support in
geom_crossbar()See: example notebook.
Support in
waterfall_plot()viarelative_labelsandabsolute_labelsparameters.See: example notebook.
New
inherit_color()option in annotations configuration (see example notebooks above)waterfall_plot()- support for combining waterfall bars with other geometry layers [#1344].See: example notebook.
Plot Layout:
axis_text_spacing,axis_text_spacing_x, andaxis_text_spacing_yparameters intheme()to control spacing between axis ticks and labels.More variants to specify a color by name:
dark-gray,darkgrey,dark_grey,DARKGRAY, etc.;gray0(black) togray100(white);See the complete list of named colors.
size_unitparameter ingeom_point(),geom_text/label()andgeom_pie()accepts two new values:'min'and'max'[#260].'min'sets the size unit to the smaller of the unit steps along the x and y axes, while'max'sets it to the larger.This allows for more flexible relative sizing of points, pies and text in plots.
See: example notebook.
Changed
Native support for PNG and PDF exports [#1268]:
Exporting to PNG and PDF formats now uses the
ImageMagicklibrary bundled with Lets-Plot Python wheels and available out-of-the-box.This replaces the previous dependency on the
CairoSVGlibrary and comes with improved support for LaTeX labels rasterization.Related changes:
ggsave: thewandhparameters override plot size, allowing to specify the output image size independently of the plot size.ggsave: thedpidefault value changed to 300.ggsave: theunitdefault value changed toin(inches).Continuous data on discrete scales:
Continuous data when used with discrete positional scales is no longer transformed to discrete data.
Instead, it remains continuous, allowing for precise positioning of continuous elements relative to discrete ones.
This resolves issues where combining discrete and continuous data in the same plot was difficult or impossible: [#1279].
See: example notebook.
geom_boxplot(): when y-oriented, it now uses aestheticsxlower/xmiddle/xupperinstead oflower/middle/upper[#1319].waterfall_plot(): specialflow_typevalue forlabel=element_text(color=...)replaced withinherit. Seelabelin the documentation.position_dodgev()function and the'dodgev'value for thepositionparameter are deprecated and will be removed in future releases.lightgrayandgreen. To restore the previous colors, usegray75andlime, respectively.waterfall_plot(): the appearance of the legend has been improved.geom_violin(): tooltips are not shown in the centerline of the violin ifshow_half != 0.geom_crossbar(): the midline is not shown in the legend whenfattenis set to 0, or when there is no mapping for it.geom_pointrange(): the midpoint will not be drawn if the y aesthetic is set toNone.geom_band(): thealphaaesthetic only affects the inner part of the geometry, as ingeom_rect().geom_band(): show tooltip over the whole band, not just at the edges.Fixed
geom_hlineandgeom_vlineongeom_livemap[#1056].geom_boxplot: unable to draw a y-oriented plot withstat='identity'[#1319].geom_boxplot[#1342].geom_rect: fixed data conversion forgeom_livemap[#1347].ggsave: incorrect output when exporting markdown demo to PNG [#1362].as_discrete()does not work with aes addition [#1363].v4.6.2Fixed
macOS: incorrect system libraries linkage that may lead to Lets-Plot import failure:
libc++abi: Terminating due to typed operator new being invoked before its static initializer in libcxx has been executed.geom_livemap(): map zoom freezes after multiple rapid clicks on +/- buttons [#1315].Misleading warnings when using CARTO 'base-midnight', 'base-antique' and 'base-flatblue' tilesets in livemap.
v4.6.1Changed
[BREAKING] the
heightandheight_unitparameters have been deprecated for thegeom_errorbar.the minimum distance between axis labels was reduced to avoid unsuitable layouts.
Fixed
geom_errorbar(): the plot domain is always stretched to zero, regardless of the data.overlapped axis labels when using
hjust/vjustor multiline text.v4.6.0Added
Grouping plots:
ggbunch()function: combining plots with custom layout.See demos:
Support for plot title, subtitle, caption, margins and insets in
gggrid()andggbunch().Geometries:
geom_hex()[#556].See: example notebook.
Parameters
width_unitandheight_unitingeom_errorbar(),geom_boxplot(),geom_crossbar(),geom_tile()andgeom_hex()[#1288]:See example notebook.
Parameters
startanddirectioningeom_pie()[#1280].See example notebook.
Texts and labels:
hjustandvjustparameters for axis labels [#1227],[#1230].See: example notebook.
multiline support for axis labels [#948].
See: example notebook.
Markdown support for plot title, subtitle, caption, and axis labels [#1256].
See example notebook.
In the
nudgeposition adjustment -the ability to specify absolute shift values for
nudge:unitparameter inposition_nudge().nudge_unitparameter ingeom_text()andgeom_label()See example notebook.
Theme:
Parameters
legend_ticksandlegend_ticks_lengthfor fine-grained control over colorbar tick marks [#1262].See: example notebook.
Parameter
spacerinimage_matrix()function.transparent/blank/''color [#1281].Changed
GGBunchis deprecated. Please useggbunch()function instead.lower_exp_boundto -7 andupper_exp_boundto 6 (same as intheme(...)).tile, bin2d, contour, contourf, density2d, density2df: default coordinate system changed from 'fixed' to 'cartesian'.geom_bin2d()are sized according to thebinwidthvalue, not the maximum possible.buildPlotFromRawSpecs()buildPlotFromProcessedSpecs()platf-awt,platf-batik,platf-jfx-swingare no longer published with a "-jvm" suffix.Before, these artifacts could be used in dependencies either with or without the "-jvm" suffix. Now only without suffix.
Fixed
scale_continuous: can't use theexpandparameter [#1285].stat='summary'if the data contains NaN values [#1301].plot_backgroundingggrid[#1124].plot_backgroundnot inheriting fromrect[#1278]gggrid: allow title and other labels for the entire figure [#715].ggbunch: overall title [#321].geom_tile[#1284].geom_bin2dimplodes when the disparity in axes units is large [#1303].geom_textorgeom_label[#1048].geom_text()/geom_label()[#1059].v4.5.2Changed
gformat type with~(e.g.~g) now truncates trailing zeros, and without~it doesn't.theme(exponent_format=...)settings and does not use 's' format type for large numbers.Fixed
v4.5.1Changed
Fixed
v4.5.0Added
Python 3.13 support
ggtb(): enable zoom/pan interactivity on plot [#983],[#1019]See example notebook.
Interactive links in tooltips/labels/texts [#1091].
See example notebook.
Formatting:
LaTeX support: superscript, subscript ([#861]) and Greek letters ([#960]).
See example notebook.
Scientific notation: compact form. Enable the compact form using the
exponent_formatparameter intheme()[#1071].See example notebook.
[WARNING] Subscripts and superscripts are not supported in PDF and PNG exports.
In
theme():legend_margin, legend_spacing, legend_spacing_x, legend_spacing_y, legend_box, legend_box_just, legend_box_spacingparameters [#1180].See example notebook.
legend_key, legend_key_size, legend_key_width, legend_key_height, legend_key_spacing, legend_key_spacing_x, legend_key_spacing_yparameters [#1181].See example notebook.
strip_background_x, strip_background_y, strip_text_x, strip_text_yparameters [#1195].See example notebook.
Custom
linetypepatterns [#1198]:[dash, gap, dash, gap, ...];[offset, [dash, gap, dash, gap, ...]];See example notebook.
Geometries:
geom_blank()[#831].baseparameter inwaterfall_plot()[#1159].See example notebook.
check_overlapparameter ingeom_text()andgeom_label().See example notebook.
marginalparameter inqq_plot():See example notebook.
inherit_aesparameter in layers [#1172].expand_limits()[#820].See example notebook.
Support for 3-character hex color codes
Changed
Parameters
labwidthinfacet_wrap(),x_labwidth, y_labwidthinfacet_grid(): the maximum label length is applied after splitting at\nseparators, if present.Use
theme_light()as the default theme inqq_plot().[BREAKING] For API deprecated in v4.0 the deprecation level raised to "Error" (only relevant for Kotlin clients).
[BREAKING] The 'base-midnight', 'base-antique' and 'base-flatblue' tilesets are deprecated (no longer served by CARTO) and will be removed in future releases.
Fixed
aes()multiple times [#822].legend_backgroundis set to "blank" intheme[#1167].theme_greyis used).v4.4.1Added
New variables computed by
'bin'statistic:'..sumprop..','..sumpct..'[#1155].See: example notebook.
Fixed
geom_histogram: wrong plot area wheny='..density..'[#1157].v4.4.0Added
Waterfall plot [#975]:
See example notebook.
geom_band()[#733]:See example notebook.
Custom legends [#774]:
manual_keyparameter in plot layerlayer_key()functionSee example notebook.
In legends:
titleparameter inguide_legend()andguide_colorbar()functionsSee example notebook.
override_aesparameter in theguide_legend()function [#807]:See example notebook.
plot_title_positionandplot_caption_positionparameters intheme()[#1027]:See example notebook.
thresholdparameter ingeom_histogram()[#1122]:See example notebook.
Color scales using Matplotlib's colormap [#1110]:
Thanks to a contribution by Eric Gayer.
See example notebook.
Changed
guide_legend()/guide_colorbar()require keyword arguments for 'nrow'/'barwidth' and other parameters except 'title'.as_discrete()is added tolets-plotwildcard import (i.e. when usingfrom lets-plot import *)Fixed
linetype= 0 ('blank') should make lines invisible [#712].geom_density2d: support weight aesthetic [#791].labs()breaks the date-time scale [#1113].displayin Pane.v4.3.3Added
geom_point()[#736].See example notebook.
Changed
Fixed
gggridin Jupyter notebook.theme: left margin doesn't work for theplot_titleparameter [#1101].v4.3.2Changed
to_svg(),to_html(): return the content as string if no "path" is given [#1067].Fixed
geom_tile()[LPK-241].v4.3.1Added
Parameter
dpiinggsave(),to_png()andto_pdf()functions [#839].See example notebook.
Parameter
labwidthinfacet_wrap()andx_labwidth/y_labwidthinfacet_grid()[LPK-237].See: example notebook.
Parameter
linetypeinelement_line()andelement_rect()intheme()[LPK-235].See: example notebook.
Parameter
arrowingeom_spoke()[#986].See: example notebook.
Parameter
size_unitingeom_point(),geom_text()andgeom_label().See: example notebook.
Auto-detection of
orientation="y"in bar-chart etc. [#558].See: example notebook.
Parameter
plot_insetintheme().See: example notebook.
Fixed
position[#1047].vjustimplemented incorrectly [#1051].geom_curve()[#1053].scale_x_reverse()/scale_y_reverse()[#1057].scale_x_reverse()/scale_y_reverse()[#1058].geom_density2d: the doc missing some 'computed' variables [#1062].linetypeparameter inelementLine()andelementRect()[LPK-235].set_theme()should accept "feature list" [#657].v4.3.0Added
coord_polar()The polar coordinate system is most commonly used for pie charts, but
it can also be used for constructing Spider or Radar charts using the
flatoption [#452].See: example notebook.
In the
theme()function:panel_insetparameter - primarily used for plots with polar coordinates.See: example notebook.
panel_border_ontopparameter - enables the drawing of panel border on top of the plot geoms.panel_grid_ontop, panel_grid_ontop_x, panel_grid_ontop_yparameters - 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_startandstroke_endenable better alignment ofsegments/curves with nodes of the graph by considering the size of the nodes.
The
spacerparameter allows for additional manual fine-tuning.See:
alpha_strokeparameter ingeom_label()to enable the applying ofalphatocolor[#1029].See: example notebook.
Showing plots in external browser
The setup_show_ext() directive allows plots to be displayed in an external browser window.
Changed
geom_image()is removed. Please usegeom_imshow()instead.axis_ontopintheme()is nowTrueby default.Fixed
geomCrossbar()optional [LPK-233].v4.2.0Added
Support for
Categoricals:pandas.Categoricaldata type [#914].levelsparameter inas_discrete()function [#931].See: example notebook.
Support for superscript for numbers in scientific notation [#743].
See: example notebook.
Support exporting plot to a file-like object.
Convenience methods:
to_svg(),to_html(),to_png(),to_pdf()[#885], [#590].See: example notebook.
Sharing of X,Y-scale limits between subplots in
gggrid()[#718].See: example notebook.
geom_spoke()[#738].See: example notebook.
scale_x_log2(),scale_y_log2()[#922].High-contrast tileset "BW" for
geom_livemap().See: example notebook.
New variables computed by
'count'and'count2d'statistics:'..sumprop..','..sumpct..'[#936].See: example notebook.
Support using dictionaries for breaks/labels/values customization in
scale_xxx()functions [#169], [#882].See: example notebook.
The
lablimparameter inscale_xxx()functions [#939, #946].See: example notebook.
label_textparameter intheme()for annotation text settings [#930].See: example notebook.
NumberFormat: new flag
~to trim trailing zeros.Changed
[BREAKING] Function
margin()is deprecated and will be removed in future releases.Please replace all existing usages, i.e.
theme(plot_margin=margin(..))andelement_text(margin=margin(..))with a list or with just a number:
the third -
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.