Lets-Plot v2.5.1 Release Notes

Release Date: 2022-11-03 // over 2 years ago
  • โž• Added

    • geom_text(), geom_label():

      • the 'newline' character (\n) now works as line break ([#605])
      • lineheight aesthetic ([#324])
      • nudge_x, nudge_y parameters ([#324])
      • special text alignments (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.

    ๐Ÿ”„ Changed

    • geom_image() renamed to geom_imshow()

    See updated examples: image 101, Fisher's boat.

    • 0๏ธโƒฃ geom_boxplot(): default value for parameter whisker_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 in geom_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 inside iframe 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]:

    • The '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].

    ๐Ÿ”„ 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].