An open source library for statistical plotting
Project description
Lets-Plot
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.
- Hadley Wickham, "ggplot2: Elegant Graphics for Data Analysis"
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
Scientific mode in PyCharm, DataSpell 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.2.0
-
Added support for
coord_flip()
.See: example notebook.
-
Improved plot appearance and
theme
support:- Bigger fonts across the board;
- Gridlines;
- 4 themes from ggplot2 (R) library:
theme_grey(), theme_light(), theme_classic(), theme_minimal()
; - Our designer theme:
theme_minimal2()
(used by default); theme_none()
for the case you want to design another theme;- A lot more parameters in the
theme()
function, also helpers:element_line()
,element_rect()
,element_text()
.
See: example notebook.
Note: fonts size, family and face still can not be configured.
-
Improved 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.
-
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
Change Log
See CHANGELOG.md for other changes and fixes.
License
Code and documentation released under the MIT license. Copyright © 2019-2021, 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
Built Distributions
Hashes for lets_plot-2.2.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7788ebdffe469acb926a70ff68cc91f51629b664f6552be1b3c5df539d2b172b |
|
MD5 | df7736e3ee3d5bba70d863f7c98ee2b9 |
|
BLAKE2b-256 | 3ef5e9976b8773640623161e8ac5aa3469431bc1ebfbd1a697f68bcd8b52db33 |
Hashes for lets_plot-2.2.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4156d8861069d6fc8f99639ca70723e8cd8546a930b65e92a48312bdb9a778bf |
|
MD5 | 9bf6ee1d8be7ee9a97e1ca39fa174973 |
|
BLAKE2b-256 | 00b769af16366913054641419a5c34a5d062a72cb9a39ec3e4b6e75481a916f6 |
Hashes for lets_plot-2.2.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14700c8ac54dd50da22d52f6594e480c2587a61541e9a68ce10826dfd13fba75 |
|
MD5 | da2f0abe7c68eeca87c7f31038f5eb30 |
|
BLAKE2b-256 | 1958c10a19dad681ec8820f4475c3b146fc1195780c1720ea8497c8beb5fd675 |
Hashes for lets_plot-2.2.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4086938924d650606057d4b1c0ece6066f821e404dde89720a2ad4b2d86885a |
|
MD5 | 1437c5fca9bd1c2452ec1a60a94128d2 |
|
BLAKE2b-256 | c812c5efe3e14da742596aa3cf7481c4b7597fcfb5091c26186fc7822c546984 |
Hashes for lets_plot-2.2.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e19807b7dea3b0bef80b01ef7e6f6b525d9c92b73ed02ddec3ef163d7c986eb9 |
|
MD5 | 0d4716469507cff525911a574f787737 |
|
BLAKE2b-256 | c5f1288f57cf2e751955bd6e4f4d3fc6bf31f998b3d89f0c428388929e4533b4 |
Hashes for lets_plot-2.2.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6494d095c845a771e690511361ecd5f2d97193ee1dca8e84357428e420002b4 |
|
MD5 | b81fe1a21e147768561990d177be3767 |
|
BLAKE2b-256 | 7606a3e896d79e5f9dec8a7d2dcc0995cb2a414ae733331142d58959489cc99b |
Hashes for lets_plot-2.2.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f296a5179052e0d18f493404d95eb340963062df6aa10ce026f94b4802985cb9 |
|
MD5 | b31accf21a1ddd0845acbaa0c0308898 |
|
BLAKE2b-256 | 6178bfad0c045555bb37c0c4aea57b1f3441d72d9d4e02196c130ad5ab64f442 |
Hashes for lets_plot-2.2.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b1f976580f32bafc2972f17ba6db176c2576619362685ab1f9501985ba9a9ff |
|
MD5 | b661abc2fe8cc3c2ae6be716bcdfb4d6 |
|
BLAKE2b-256 | cfaff058260871815b848a114d17c869edb9ceb3257410d9e60f2a131bf37908 |
Hashes for lets_plot-2.2.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb4c6ef2555a0cceb622ede0df4e5e2ff6f3139de8ea8e5e0211c7d2b5394c63 |
|
MD5 | 2d335ddcc7239a9197f011fce873e027 |
|
BLAKE2b-256 | 24d169cfde0d0fd8908acb44586214e4c51a01ecdb67f907f99e93f54ab61d9c |
Hashes for lets_plot-2.2.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc5405d3859253452d8630b5020e4bd5f30ccd58fe509f56288aaa51225b826c |
|
MD5 | 7c49e47b72884821591c066840526329 |
|
BLAKE2b-256 | 01c988b0688f170d371a34d1c11d318467ae5cc4fb19c905f41830de81fcb538 |
Hashes for lets_plot-2.2.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13f601c40bd58db8a51cb9be1863e002aabbbaa7ee4ccba1297c138a27682ab0 |
|
MD5 | 657fa5c8db231b743558cb2461846835 |
|
BLAKE2b-256 | 0c3a8de6ae628f3cea8aa0e6e0bd62bbc931516a2e80aaf68e1df245cf8a07f7 |
Hashes for lets_plot-2.2.0-cp36-cp36m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8571bb5de5f461e7289bf11a7590ab4b6c7d64d3fff2c9a7a7795fd5fe10d109 |
|
MD5 | 767160b14b37133f3f3f71bec3fbc184 |
|
BLAKE2b-256 | 1886679f9627dbc95baad1877a77b09e3cdd5d1e240c2e31d22e5de0e7ed0897 |