Skip to main content

An open source library for statistical plotting

Project description

Lets-Plot official JetBrains project

Couldn't load MIT license svg

Lets-Plot is an open-source plotting library for statistical data.

The design of Lets-Plot library is heavily influenced by Leland Wilkinson work The Grammar of Graphics describing the deep features that underlie all statistical graphics.

This grammar [...] is made up of a set of independent components that can be composed in many different ways. This makes [it] very powerful because you are not limited to a set of pre-specified graphics, but you can create new graphics that are precisely tailored for your problem.

We provide ggplot2-like plotting API for Python and Kotlin users.

Lets-Plot for Python

A bridge between R (ggplot2) and Python data visualization.

Learn more about Lets-Plot for Python installation and usage at the documentation website: https://lets-plot.org.

Lets-Plot for Kotlin

Lets-Plot for Kotlin adds plotting capabilities to scientific notebooks built on the Jupyter Kotlin Kermel.

You can use this API to embed charts into Kotlin/JVM and Kotlin/JS applications as well.

Lets-Plot for Kotlin at GitHub: https://github.com/JetBrains/lets-plot-kotlin.

"Lets-Plot in SciView" plugin

JetBrains Plugins JetBrains plugins

Scientific mode in PyCharm and in IntelliJ IDEA provides support for interactive scientific computing and data visualization.

Lets-Plot in SciView plugin adds support for interactive plotting to IntelliJ-based IDEs with the Scientific mode enabled.

Note: The Scientific mode is NOT available in communinty editions of JetBrains IDEs.

Also read:

What is new in 2.3.0

  • Geometries

    • geom_violin()

    See: example notebook.

    • geom_dotplot()

    See: example notebook.

    • geom_ydotplot()

    See: example notebook.

  • Labels and Legends

    • Plot subtitle and caption are now supported.

      You can use parameter subtitlein ggtitle() and labs() to add a subtitle below the plot' title, and parameter caption in labs() to add a caption below plot.

    • Multi-line labels.

      The 'newline' character (\n) now works as line break in plot title, subtitle and caption, in legend's title and in tooltips.

    See: example notebook.

  • Tooltips

f-22a/images/tooltip.png
  • Improved appearance

  • Automatic word wrap makes long text values look better

  • Tooltip title

    You can use new method title() in the Tooltip castomization API to add a title to tooltip.

See: example notebook.

  • Maps

    Our interactive map widget now supports automatic size adjustment for markers on map (i.e. the radius of points and the width of lines) when zooming. You can control this behavior using new parameters data_size_zoomin, const_size_zoomin in geom_livemap().

    Also note new "reset" tool-button.

f-22a/images/map_airports_zoomin.gif
  • Facets

    "Free" scales are now supported on faceted plots.

    See: example notebook.

Change Log

See CHANGELOG.md for other changes and fixes.

License

Code and documentation released under the MIT license. Copyright © 2019-2022, JetBrains s.r.o.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Built Distributions

lets_plot-2.3.0-cp39-cp39-win_amd64.whl (2.7 MB view hashes)

Uploaded cp39

lets_plot-2.3.0-cp38-cp38-win_amd64.whl (2.7 MB view hashes)

Uploaded cp38

lets_plot-2.3.0-cp37-cp37m-win_amd64.whl (2.7 MB view hashes)

Uploaded cp37

lets_plot-2.3.0-cp36-cp36m-win_amd64.whl (2.7 MB view hashes)

Uploaded cp36

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page