Skip to content

[FR] Bar plots should accept named tuples like in R #4880

@wmstack

Description

@wmstack

One of the things that I liked about R was the fact that you could very swiftly spin up a bar chart by using named tuples with c(A = 1, B = 2, C = 3) etc...

image

This is not possible with Julia's named tuples and this seems like a downgrade. On the one hand, you don't need that c function call, on the other hand, they seem less useful. You can try this out with the following code at https://webr.r-wasm.org/latest/

barplot(c(A = 1, B = 2, C = 3))

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions