Skip to content

renamer returning RichText causes issues #695

@mhinsch

Description

@mhinsch

Returning Makie.RichText from a renamer produces an error complaining about a missing method isless for RichText. Adding the following fixes the problem and the plot looks as expected:

import Base.isless

Base.isless(rt1::Makie.RichText, rt2::Makie.RichText) = Base.isless(String(rt1), String(rt2))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions