Skip to content

ColorType.gray(x::Real) is no longer needed #124

@kimikage

Description

@kimikage

gray(x::Fractional) was added in ColorTypes.jl v0.2 (JuliaGraphics/ColorTypes.jl@0b071ed), and it was modified to gray(x::Number) in ColorTypes.jl v0.2.12 (JuliaGraphics/ColorTypes.jl@988de55).

I think Number is too loose, but in any case the following is unnecessary:

ColorTypes.gray(x::Real) = x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions