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.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

Uploaded CPython 3.9 Windows x86-64

lets_plot-2.3.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (3.0 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.5+ x86-64

lets_plot-2.3.0-cp39-cp39-macosx_10_9_x86_64.whl (3.2 MB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

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

Uploaded CPython 3.8 Windows x86-64

lets_plot-2.3.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (3.0 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.5+ x86-64

lets_plot-2.3.0-cp38-cp38-macosx_10_9_x86_64.whl (3.2 MB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

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

Uploaded CPython 3.7m Windows x86-64

lets_plot-2.3.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (3.0 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.5+ x86-64

lets_plot-2.3.0-cp37-cp37m-macosx_10_9_x86_64.whl (3.2 MB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

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

Uploaded CPython 3.6m Windows x86-64

lets_plot-2.3.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (3.0 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.5+ x86-64

lets_plot-2.3.0-cp36-cp36m-macosx_10_7_x86_64.whl (3.3 MB view hashes)

Uploaded CPython 3.6m macOS 10.7+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page