Skip to content

Releases: JetBrains/lets-plot

v2.2.1rc1

06 Dec 23:03
Compare
Choose a tag to compare
v2.2.1rc1 Pre-release
Pre-release
Updated version v2.2.1rc1

v2.2.0

29 Oct 19:15
Compare
Choose a tag to compare

[2.2.0] - 2021-10-29

Added

  • coord_flip().

    See: example notebook.

  • Date-time formatting support:

    • tooltip format() should understand date-time format pattern [#387];
    • scale_x_datetime should apply date-time formatting to the breaks [#392].

    See: example notebook.

  • Pre-configured themes:

    • Standard ggplot2 themes: theme_grey(), theme_light(), theme_classic(), theme_minimal();
    • Other themes: 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

Changed

  • The size of fonts on plot was slightly increased all across the board.
  • The default plot size was increased by 20%, it's now 600x400 px.
  • Deprecated API: stat_corr() and "correlation stat" will be removed in one of the future releases.
    Please use the corr_plot() plot builder object instead.

Fixed

  • Ordering facets - the "order" value 0 disables facet ordering [#454].
  • Tooltips for discrete variables: add the dependence of the tooltip on the number of factors.
    The X-axis tooltip is always shown for discrete data.
  • map_join doesn't work when join variables with same names without mappings [#428].
  • Zoom without clipping breaks tooltips [#373].
  • Unreadable breaks on axis [#430].
  • Map rendering is broken when browser uses scaling [#450].
  • corr_plot() error for data with zero variation [#329].
  • Misleading error message [#271].

v2.2.0rc3

28 Oct 18:19
Compare
Choose a tag to compare
v2.2.0rc3 Pre-release
Pre-release
Updated version v2.2.0rc3

v2.2.0rc2

26 Oct 18:29
Compare
Choose a tag to compare
v2.2.0rc2 Pre-release
Pre-release
Updated version v2.2.0rc2

v2.2.0rc1

22 Oct 18:16
Compare
Choose a tag to compare
v2.2.0rc1 Pre-release
Pre-release
Updated version v2.2.0rc1

v2.1.0

16 Aug 15:13
Compare
Choose a tag to compare

[2.1.0] - 2021-08-16

Added

  • 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:

    • Subdomains parameter {s} for XYZ raster tiles.
    • Solid color tiles: maptiles_solid().
    • Builtin configurations for some 3rd party maptile services. The lets_plot.tilesets module.

    See: Configuring basemap tiles.

Changed

  • Upgraded Apach Batik version to 1.14 (was 1.12) [#398].
  • Upgraded Kotlin version to 1.5.21 (was 1.4.21)
  • Upgraded Gradle version to 7.1.1 (was 6.8.3)

Fixed

  • geom_livemap: properly handle max_zoom pamareter in maptiles_zxy().
  • Strange looking legend for tiles [#245].
  • Need to skip "bad" values during scale transformation [#301].
  • NPE on negative value in data and scale_xxx(trans='log10') [#292].
  • Legend is broken when using scale_fill_brewer with 'trans' parameter [#284].
  • Scale breaks should be distributed evenly on 'sqrt' scale. [#407].
  • Wrong tooltip formatting when used with log10 scales [#406].
  • Bad axis labels when using both plot and layer data [#327].
  • Plot layout looks wrong [#403].
  • map_join is not working correctly when map=geocoder [#380]
  • Tooltip default formatting should not change after adding other variables to tooltip [#388].
  • Tooltip on axis: increase the font size. [#399].
  • Tooltip format for variable is not working [#401].
  • Wrong direction in colorbars (legend) [#204].
  • geom_jitter: show axis tooltips (same as geom_point) [#412].
  • Outlier tooltips: the spout sometime is too long (boxplot) [#358].
  • Faceted plot is broken by geom with "constant" aesthetics [#391].
  • Interactive maps in AWT (PyCharm plugin):
    • A memory leak in PyCharm caused by a final void dispose() method in PlotPanel.
    • When showing map in PyCharm CPU is busy all the time, even then nothing is changing on screen.
    • Click events detection.

v2.1.0rc1

12 Aug 14:06
Compare
Choose a tag to compare
v2.1.0rc1 Pre-release
Pre-release
Updated version v2.1.0rc1

v2.0.5rc1

04 Aug 18:25
Compare
Choose a tag to compare
v2.0.5rc1 Pre-release
Pre-release
Updated version v2.0.5rc1

v2.0.4

09 Jun 19:56
Compare
Choose a tag to compare

[2.0.4] - 2021-06-09

Changed

  • Upgraded 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.

Fixed

  • Multilayer plots are corrupted [#385].

v2.0.3

02 Jun 19:48
Compare
Choose a tag to compare

[2.0.3] - 2021-06-02

Added

  • In tooltip customization API:
    • layer_tooltips(variables) - the new parameter variables defines a list of variable names, which values will be placed line by line in the general tooltip.
      See: Tooltip Customization.

Changed

  • CDN: Lets-Plot JavaScript library is now served via JSDELIVR (was CDNJS):

https://cdn.jsdelivr.net/gh/JetBrains/lets-plot@v2.0.3/js-package/distr/lets-plot.min.js

Fixed

  • Removed the last dependency on bintray JCenter (commit).
  • geom_boxplot: should be possible to create boxplot without specifying x-series [#325]
  • geom_hline: graph plotted outside of coordinate plane visible part [#334]
  • Draw geometry only once if layer has no aes mapping specified [#73]
  • map: calif.housing [#140]
  • Can't build plot: "Uncaught SyntaxError: Unexpected string" in a console [#371]
  • All scales should have the 'format' parameter [#347].
  • Poor font rendering in Swing/Batik. Related to: [#364]
  • Exclude slf4j implementation from lets-plot-common [#374]