What is new in 4.7.0#

  • Time Series Plotting

    • Support for Python time and date objects.

    • Support for timezone-aware datetime objects and Pandas/Polars Series.

    ../../_images/time_date_datetime.png

    See example notebook.

  • Native support for PNG and PDF exports

    Exporting to PNG and PDF formats now uses the ImageMagick library bundled with Lets-Plot Python wheels and available out-of-the-box.

    This replaces the previous dependency on the CairoSVG library and comes with improved support for LaTeX labels rasterization.

  • geom_sina() Geometry

    ../../_images/geom_sina.png

    See example notebook.

  • geom_text_repel() and geom_label_repel() Geometries

    ../../_images/geom_repel.png

    See example notebook.

  • waterfall_plot() Chart

    • Annotations support via relative_labels and absolute_labels parameters.

      ../../_images/waterfall_plot_annotations.png

      See example notebook.

    • Support for combining waterfall bars with other geometry layers.

      ../../_images/waterfall_plot_layers.png

      See example notebook.

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

    ../../_images/combo_discrete_continuous.png

    See: example notebook.

Tip

New way of handling continuous data on discrete scales could potentially break existing plots. If you want to restore a broken plot to its original form, you can use the as_discrete() function to annotate continuous data as discrete.

  • Plot Layout

    The default plot layout has been improved to better accommodate axis labels and titles. Also, new theme() options axis_text_spacing, axis_text_spacing_x, and axis_text_spacing_y control spacing between axis ticks and labels.

    ../../_images/plot_layout_diagram.png

    See the plot layout diagram showing various layout options and their effects on plot appearance.

  • And More

    See CHANGELOG.md for a full list of changes.

Change Log#

See CHANGELOG.md for other changes and fixes.