Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

make `_distinguishable_colors` public ?

Open
#573 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
julia

Research direction

Start with src/colormaps.jl, especially the linked _distinguishable_colors method, and compare it with the existing distinguishable_colors API. Clarify whether the helper should be exported or renamed, how candidate::AbstractVector{<:Color} should be converted, and which default arguments are needed; done means an agreed public API is implemented.

Written by the indexing model from the issue text.

Description

personally I am a user of the "private" _distinguishable_colors method because I can pass a specific subset of colors candidate::Vector{Lab{Float32}} to choose from.
What do you think about making it public, i.e. exporting it or just renaming it to distinguishable_colors ?

Ofc, to make it more user friendly a candidate::AbstractVector{<:Color} should be passed and a conversion should happen internally, along with some other default arguments similarly to distinguishable_colors.

Dominant language
Julia
Stars
225
Forks
53
Avg merge
1d 9h
Merged PRs (30d)
8

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from JuliaGraphics/Colors.jl

All issues in JuliaGraphics/Colors.jl

Similar issues

More Julia issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.