Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

In Jupyter notebook: can't use a desired version of lets-plot when also using krangl. #143

Open
alshan opened this issue Mar 21, 2022 · 1 comment

Comments

@alshan
Copy link

alshan commented Mar 21, 2022

In my notebook I'm using both, lets-plot and krangl libraries.

I've specified a particular version of lets-plot but noticed that notebook loads lets-plot' class-files that belong to a different lets-plot version.

For example, in the version I wanted to use, function ggtitle() has (new) parameter subtitle. However, when I'm trying to use this function I'm getting an error:

image

The issue occurs it seems due to lets-plot dependency in krangl maven artifact:

    <dependency>
      <groupId>org.jetbrains.lets-plot</groupId>
      <artifactId>lets-plot-kotlin-jvm</artifactId>
      <version>3.0.1</version>
      <scope>compile</scope>
    </dependency>

https://search.maven.org/artifact/com.github.holgerbrandl/krangl/0.17/jar


Would you consider building another krangl artifact - without this dependency, to be used specifically in Jupyter/Datalore notebooks with Jupyter Kotlin Kernel?

@alshan
Copy link
Author

alshan commented Mar 23, 2022

This dependency is also a possible cause of some of the issues with krangl usage in Android projects (#123 (comment)),
as AFAIK Apache Batik is not built for Android.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant