An open source library for statistical plotting
Project description
Lets-Plot
Lets-Plot is a multiplatform plotting library based on the Grammar of Graphics.
The library' design 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"
Grammar of Graphics for Python
A bridge between R (ggplot2) and Python data visualization.
To learn more see the documentation site at lets-plot.org.
Grammar of Graphics for Kotlin
Notebooks
Create plots in Kotlin Notebook,
Datalore, Jupyter with Kotlin Kernel
or any other notebook that supports Kotlin Kernel
.
To learn more see the Lets-Plot Kotlin API project at GitHub.
Compose Multiplatform
Embed Lets-Plot charts in Compose Multiplatform applications.
To learn more see the Lets-Plot Skia Frontend project at GitHub.
JVM and Kotlin/JS
Embed Lets-Plot charts in JVM (Swing, JavaFX) and Kotlin/JS applications.
To learn more see the Lets-Plot Kotlin API project at GitHub.
"Lets-Plot in SciView" plugin
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 4.2.0
-
Support for
"Categoricals"
See: example notebook.
-
Superscript for Numbers in Scientific Notation
Warning!
Do NOT(!) use
exponent_format='pow'
if you are planning to export plot to a raster format (PNG,PDF).The
CairoSVG
library (which is under the hood of ourggsave()
function) does not handletspan
element properly end breaks superscript notation when transforming SVG to PNG/PDF.More details: https://github.com/Kozea/CairoSVG/issues/317
See: example notebook.
-
Exporting Plot to a File-Like Object.
Convenience methods:
to_svg()
,to_html()
,to_png()
,to_pdf()
See: example notebook.
-
Sharing of X,Y-scale Limits Between Subplots in
gggrid()
See: example notebook.
-
geom_spoke()
See: example notebook.
-
High-contrast Tileset "BW" for
geom_livemap()
See: example notebook.
See advanced example: Spatial prediction of soil pollutants with multi-output Gaussian processes. Credits: Essi Parent (@essicolo). -
Other New Features and Improvements
scale_x_log2()
,scale_y_log2()
- New variables computed by
'count'
and'count2d'
statistics:'..sumprop..'
,'..sumpct..'
. See: example notebook. - Support using dictionaries for breaks/labels/values customization in
scale_xxx()
functions. See: example notebook. - The
lablim
parameter inscale_xxx()
functions. See: example notebook. label_text
parameter intheme()
for annotation text settings. See: example notebook.- NumberFormat: new flag
~
to trim trailing zeros.
Change Log
See CHANGELOG.md for other changes and fixes.
Code of Conduct
This project and the corresponding community are governed by the JetBrains Open Source and Community Code of Conduct. Please make sure you read it.
License
Code and documentation released under the MIT license. Copyright © 2019-2024, 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-4.3.0rc1-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2815fb380cb259a468c93bc6d45fd54b9610477350ded4f48872e6850ce05ad8 |
|
MD5 | 24ec8a093cec83c7f266690597243949 |
|
BLAKE2b-256 | 3b8ab7a559716004d66ecf8a4249b51a023caa3e9c952da8531771e43cceaec0 |
Hashes for lets_plot-4.3.0rc1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5caf24b440ec82783846f3e85141e02b8296c3410680a40acbb9d11b6bea567f |
|
MD5 | 0f8db9cd0bcac8c91ced23ec730df6a9 |
|
BLAKE2b-256 | 172567eb7466c350d663903edcca063560ff305e5e712dec8066c78d80474ca9 |
Hashes for lets_plot-4.3.0rc1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a36657b0609363b7bc202a39b9435862dcb1f140a3dfdae384b44bc1d5d584b |
|
MD5 | 5c058879d76e692dad079618efd09521 |
|
BLAKE2b-256 | caa4bfb5320aa41539cd4aca7430ea4894c4fb2dd13c194ccd3087c09415dc73 |
Hashes for lets_plot-4.3.0rc1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f0142d9913ee4b3edeb3cb8290e5f56d9220b085914882a4b0f650d382fc058 |
|
MD5 | d7158801519fa0d51732a97916ef0e93 |
|
BLAKE2b-256 | 27bf24f6fa4ebb373e829aa94a3033e3155fb30c410623c5af31fb7c42534794 |
Hashes for lets_plot-4.3.0rc1-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f459b0ba15ced35314cb9d1400fb83546c1d97b802e4819435c70b92ec7cca0 |
|
MD5 | f9d86ec5d82b14ca90abd589d792f2ab |
|
BLAKE2b-256 | 6da6d2a039cc73750a3c3db2b7906e952e63903ca1f7364520a7bf354f1445ed |
Hashes for lets_plot-4.3.0rc1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a875a3e0b9a8dfd115c135000a9a55af35a004e380a0fd623fc7f7a481e695c |
|
MD5 | 166861426b3f784b881e99962bc661d5 |
|
BLAKE2b-256 | 5037d652a3828c873f594c0030986d8dec06f3ceba55d162b1646ff8c4b24ee8 |
Hashes for lets_plot-4.3.0rc1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0924e0562e47a87ff39a91fee2ccdbd40fa87a9ed6ff33b674d8e742654693d7 |
|
MD5 | 7b9041bdc567e70e7ee008a2aadb3757 |
|
BLAKE2b-256 | 54befa3e87da3f1671f905aa805e4e99085cdf1adcd417dc45fd871b5b49315d |
Hashes for lets_plot-4.3.0rc1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6886d5df98168b53dfab8c92123aaa631fb215cc03f4abd83d7ed6080e533329 |
|
MD5 | 5d373b07075329fb10aa5f73eee3499d |
|
BLAKE2b-256 | c68467d09b100a92648e634c52e06d6cf3dc2f20328b3682f88f0f4480e1008d |
Hashes for lets_plot-4.3.0rc1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 892af57a10e13b1c39d9d42acfab64904ee8bcd45fe825d99dde564c2edd9379 |
|
MD5 | 2a78445d14a592a335091de5c0e514d3 |
|
BLAKE2b-256 | 30364bf90ed089bdd7caa35cf5b2331c9f0dc8b8d485d1b34c1f7919339d31dc |
Hashes for lets_plot-4.3.0rc1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 975db09d878c9e82813decbca094090ad284993002b6a98609865b29e1b5d601 |
|
MD5 | 85df2570e3f5198bc4a8907739e6adca |
|
BLAKE2b-256 | b129302843a0eb9054805d3314f49a87cef6c49a1895312c333fdefc84bd5c45 |
Hashes for lets_plot-4.3.0rc1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 558d4d0521c3e5594b6baf22b598355fb18c8b216e68e7c66704d0111a725775 |
|
MD5 | f88b6d876afd729301a68af1297e58ac |
|
BLAKE2b-256 | 172c7e17ef5753a585fc333e617c5c3440901b8dea06c86c64d09c78645a67b7 |
Hashes for lets_plot-4.3.0rc1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da0d80419df9bbb17d215fb7e9decbaa9810ddabf069d40625b0d9c6ccdcb859 |
|
MD5 | 8531b4147eeb17a6ebd15e8b8467542e |
|
BLAKE2b-256 | 4cb6437e70d5600d6afe75e9fd241a5a8bff451014479dfc7c5b543a7e0dfe74 |
Hashes for lets_plot-4.3.0rc1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6429ba35f283092cc3102a58cdd20f617ee8068b12f974b9f5b14e5f13d2d818 |
|
MD5 | d2dccdb4204a8336797fa8b05eeac753 |
|
BLAKE2b-256 | 489ba75e6c9c77121f105a1ea881a88974ad17f8ea79621045e5ceb97e3891e0 |
Hashes for lets_plot-4.3.0rc1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52cdb22e1baae9e78cb56ef8a25935112b4d1d479d38949627f6a8670c81553c |
|
MD5 | f8e58b7c788d2ffdb7f53cead9da4010 |
|
BLAKE2b-256 | 758f63d933b664ec1bdbbdc72196e2c86a0c40f6a9ae6c544138b50350fd91a9 |
Hashes for lets_plot-4.3.0rc1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71641c63b69250731a6191c1a56ee4947d5b64f8d3e30bcfe91c82466b530fc8 |
|
MD5 | a99d85366611d77a8c92a7236001e4eb |
|
BLAKE2b-256 | 733ae22123f012d41deecf492c8993de233e9003fd7fb8f5c7405bd8802cb4aa |
Hashes for lets_plot-4.3.0rc1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bee3e2c3e2c4325a3e832c2ec445dcd45545546994be54287b82fcd1833a27df |
|
MD5 | f3790ab0270d9bbd88e9bdcba494b843 |
|
BLAKE2b-256 | e7f9a7a6cb0107d6293fdd0a4e7e60e3ce396a7156760aebb6e4acf1eea87575 |
Hashes for lets_plot-4.3.0rc1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afc95590ccb91a82616b47fc5f1ce38af095b1c94b6f443e02c59e671b99e431 |
|
MD5 | e17688ed3d1a61396946044da2aebf1d |
|
BLAKE2b-256 | 0f0798d94477ea6fd92dada49eb005822c86d7e59a07b7d80d9aeb4ad0d9efa9 |
Hashes for lets_plot-4.3.0rc1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 861255b879a26571d0c16f127e9919cc1e92622867d1effeff87dd1057ee29a8 |
|
MD5 | b01025d77c8490c362ebd7a4f6cabd62 |
|
BLAKE2b-256 | ab0b4c23b68a19e4d4e14f11365665895842bec607cb6a8eb5b3e465c6edf129 |
Hashes for lets_plot-4.3.0rc1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0049f2b23574e6d0752ad750cc5f7a755ce488cebecdbc19d9006dd7deead49a |
|
MD5 | 027f889ca1248d315d4f43845c60f3b9 |
|
BLAKE2b-256 | bb2598e1e1afa4add5515cac92f6a744e9955af1e5dfeb871a174db489fa77a9 |
Hashes for lets_plot-4.3.0rc1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 447ec9199fe6d137366f4ec5b7a2975b1445eae4b2770c0a2dd80fc5b2efafe7 |
|
MD5 | 1d319265bbf6a0174df640815cba5538 |
|
BLAKE2b-256 | 9e8030b367b7a9cd438af821e5041cfa8dfd353496b6e648d494eedf43bc5afe |
Hashes for lets_plot-4.3.0rc1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 092452127de6a6bdafb4316ae39cc07951be0bb0aaa0fc0d40e3506dc3b50799 |
|
MD5 | 82f1cc82c2a531565cb567f3ca484227 |
|
BLAKE2b-256 | 10ece67c87c91e1822b73bb31179ebc7dde6f1c4cc7403ff1e8a20ab7e1b345a |
Hashes for lets_plot-4.3.0rc1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c09d44ade0041e6321f5bb2b42de391d64ee09264151a69debb3aed23156752d |
|
MD5 | 8be4a9a13ebbada08f8df28a9f9ec489 |
|
BLAKE2b-256 | d8ce47c83b060fbb22e5d44145fc59b0c4be52ce7716d5a837064163d3ed5605 |
Hashes for lets_plot-4.3.0rc1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d78271fd1cebb47dfc5d08e0f6097faee5a02bb9a5cae3e550d6a821f6f6cc7e |
|
MD5 | 800a060855dd73792011a8de5c785f47 |
|
BLAKE2b-256 | 6c99f3dfeee48454f8a28e4ad0f833f17260dd0aa4c69c4ab7fd4641ea543d6e |
Hashes for lets_plot-4.3.0rc1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd3e416cd9a02fe5b4758b312ade81cfdfaeb851c6e605d7568d0314fbe42cb3 |
|
MD5 | 7575ebe1cee0c58ca3f80389cb132dd6 |
|
BLAKE2b-256 | 1452c8bdb7d72b16c22ce002a72691167714797518109907f13da69071785427 |
Hashes for lets_plot-4.3.0rc1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aab0d624d306829f3507c8e847c98b4f902c13f4be9ff192154bae05cb5053d3 |
|
MD5 | 13913a3554e91541ef5a62a3bd5a71fc |
|
BLAKE2b-256 | 5ad8b5818d95e2c9ec7ce4bd07760efb9c87b5f366e90b69a7048ab131913af2 |
Hashes for lets_plot-4.3.0rc1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a8aab94135bf9baabc9411923e11a0196e35865138a424efe17fee89c3181b7 |
|
MD5 | f31028dba1b88f0be035865a38973632 |
|
BLAKE2b-256 | 6f7d5816167a5ea65a2a639c441553d216130fd670478df752732fecb7435921 |
Hashes for lets_plot-4.3.0rc1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c19eff881756a91f1dc9e11d21a50d2074b7e690140dbc8ccf0094e801d9275 |
|
MD5 | 334f7d03c92c59d8def1e60e57010e24 |
|
BLAKE2b-256 | b40bf04ec621fea16cadeb3109ead90c5a05f09a9c3d8c763b420d7024e83608 |
Hashes for lets_plot-4.3.0rc1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25397d5c9a0030ec631223dae24d2a9d2d7f513f7fafa75ea7f528d49371ad43 |
|
MD5 | b0d54485a4896b8152a4e32ab070d9cb |
|
BLAKE2b-256 | 14d2974da2ac7f64f5fa779949b3b9b095f95e971b0e530b9a92d46c52e05ad3 |
Hashes for lets_plot-4.3.0rc1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73a7f69ece3f97029f5a15804596c2b955f0e222b673703e943938d04b9c161a |
|
MD5 | 4640d788ee469c0c8394d6561fcb229e |
|
BLAKE2b-256 | 42c5321f9e6b7ac52a78fcdd4f31656a135200edcc4a893ad1f218734de46423 |