mcabbott / mcabbott/AxisKeys.jl
Axis colors policy
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 154
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Description
I like to have all-different axis colors so I want to override the color rule, but that is piracy which I prefer to avoid. Is there a way to either provide all-different colors by default or somehow let me override the default behavior without piracy?
julia> AxisKeys.colour(::AbstractArray, i::Int) = let cs = [:cyan, :yellow, :magenta, :blue]
cs[mod1(i,length(cs))]
end
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with src/show.jl lines 45-57 and inspect how AxisKeys.colour chooses colors for axes. Determine whether the desired outcome is an all-different default or a supported way to override the rule without piracy. Done means the chosen color policy or override mechanism is documented and works for the issue's Julia example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100