在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):JetBrains/lets-plot-kotlin开源软件地址(OpenSource Url):https://github.com/JetBrains/lets-plot-kotlin开源编程语言(OpenSource Language):Kotlin 100.0%开源软件介绍(OpenSource Introduction):Lets-Plot for Kotlin
OverviewLets-Plot for Kotlin is a Kotlin API for the Lets-Plot library - an open-source plotting library for statistical data. Lets-Plot Kotlin API is built on the principles of layered graphics first described in the Leland Wilkinson work The Grammar of Graphics and later implemented in the ggplot2 package for R.
Read Lets-Plot Usage Guide for quick introduction to the Grammar of Graphics and Lets-Plot Kotlin API. Lets-Plot in Jupyter with Kotlin KernelInstallationIn Jupyter notebook with a Kotlin Kernel, Lets-Plot library is available out-of-the-box. To install Kotlin Kernel and OpenJDK into a Conda environment, run the following command: conda install kotlin-jupyter-kernel -c jetbrains For more information about Jupyter Kotlin kernel, see the Kotlin kernel for Jupyter/iPython project. "Line Magics"You can include all the necessary Lets-Plot boilerplate code to a notebook using the following "line magic":
This will apply the lets-plot The You can override lets-plot
Where:
See: Line Magics documentation in the Kotlin Jupyter project for more details. Quickstart in Jupyter
Example of notebooksTry the following examples to study features of the Lets-Plot-Kotlin in Datalore notebooksDatalore is an online data science notebook by JetBrains. In Datalore notebook you can run Kotlin code directly in your browser. Many popular Kotlin libraries are preinstalled and readily available (see the list of supported Kotlin libraries). See Quickstart in Datalore example notebook to learn more about Kotlin support in Datalore. Watch the Datalore Getting Started Tutorial video for a quick introduction to Datalore. Lets-Plot in JVM and Kotlin/JS applicationApart from Jupyter notebooks, Lets-Plot library and Kotlin API enables embedding plots into a JVM and a Kotlin/JS application. See README_DEV.md to learn more about creating plots in JVM or Kotlin/JS environment. In the lets-plot-mini-apps GitHub repository you will find examples of using Lets-Plot Kotlin API in JVM and Kotlin/JS projects. Further ReadingUser guide and API reference
Tooltip customizationYou can customize the content, values formatting and appearance of tooltip for any geometry layer in your plot. Learn more: Tooltip Customization. FormattingFormatting of numeric and date-time values in tooltips, legends, on the axes and text geometry layer. Learn more: Formatting. Data samplingSampling is a special technique of data transformation, which helps to deal with large datasets and overplotting. Learn more: Data Sampling. Saving plot to a fileThe The supported export formats are: For example, the code below will save plot as a PNG image to the file
See GeoTools supportGeoTools is an open source Java GIS Toolkit. Lets-Plot supports visualization of a set of Learn more: GeoTools Support. What is new in 3.3.0
Change LogSee CHANGELOG.md. LicenseCode and documentation released under the MIT license. Copyright © 2019-2022, JetBrains s.r.o. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论