Skip to content

Using a channel of named symbols doesn't work with tips #2237

Open
@Fil

Description

@Fil

Image

Plot.dot(
  penguins,
  Plot.dodgeY({
    x: "culmen_length_mm",
    symbol: (d) => (d.sex === "FEMALE" ? "square" : "star"),
    tip: true
  })
).plot({ height: 220 })

The [Object object] is the {draw: function} that corresponds to the symbol. Maybe it should just have a toString?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn’t working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions