Skip to content

DynamicQuantities.jl + Makie? #4859

Open
@icweaver

Description

@icweaver

Feature description

Howdy again, got another units question for folks

Have there already been any conversations about incorporating DynamicQuantities.jl support?

We started a proof of concept over in SymbolicML/DynamicQuantities.jl#165 to begin exploring this, but wanted to check in here to see if we are following best practices. In particular, if there are any API stability considerations that we should take?

Related discussion: SymbolicML/DynamicQuantities.jl#164

Thanks again for establishing such a slick unit conversion system here!

For plot types, please add an image of how it should look like

Quick demo from the draft DynamicQuantities.jl PR

using DynamicQuantities, GLMakie

fig = Figure()

y = 60:10:100

scatter(fig[1, 1], y * u"m")
scatter(fig[1, 2], QuantityArray(y, u"m"))
scatter(fig[2, 1], y * u"kg", y * u"m")
scatter(fig[2, 2], y * us"m/s/Hz")

fig

example

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requests and enhancements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions