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

Data Visualization Example with lets-plot does not work. #154

@muthenberg

Description

@muthenberg

Hi,

I would like to do some data visualization using krangl and lets-plot. I tried to get the example working. For this I created a new jupyter-lab notebook with a single section containing the following code from the example:

%use krangl(0.17)
%use lets-plot

var sleepDataExt = sleepData.addColumn("rem_proportion"){it["sleep_rem"]/it["sleep_total"]}
sleepDataExt.letsPlot {x="sleep_total"; y="rem_proportion" } + geomPoint()

Upon execution I get an error message stating: Line_58.jupyter-kts (5:64 - 75) Type mismatch: inferred type is geomPoint but Feature was expected

Did I do something wrong? Is this a known bug? Is there a workaround?

Thanks and regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions