Accessible graph line colours

Expanding on this, it would be nice to have colours be consistent across graphs. I'm doing it in a tolerable way (tho it doesn't use the mplstyle) but bazzite is a pinkish colour (#DB61A2) which donesn't feel very bazzitey to me...
65 Replies
4730
4730OP•2w ago
Right now colours cycle through some predefined values. Problem is, the colours are assigned in a first come first served way. This means they aren't consistent across graphs. I'm messing around a bit this is what I've got We can reuse the preexisting colours but make them consistent
4730
4730OP•2w ago
No description
No description
No description
4730
4730OP•2w ago
My only issue with this is I don't love Bazzite's colour also I like the idea of having kinoite-aurora and silverblue-bluefin having similar colours
4730
4730OP•2w ago
No description
4730
4730OP•2w ago
Like this But these colours are a bit meh
j0rge
j0rge•2w ago
whatever you think is best, this is awesome thank you for this
4730
4730OP•2w ago
Opened a PR I'm also working on having the legend be nicely sorted but I'm off to sleep now I'm afraid
j0rge
j0rge•2w ago
awesome! want me to merge this now? going for it!
4730
4730OP•2w ago
Did the legend sorting thing
No description
4730
4730OP•2w ago
The code is disgusting tho 💀 Mine, that is I'll see if I can clean it up a bit otherwise I'll just open a PR since it does work it's annoying to read but it does make sense I'm also looking into colours since we should keep colour blindness in mind (also a user mentioned it on discourse) rirght now i have three options - current - current with pinkish bazzite from old palette - accessible Bokeh palettewhich I sent a preview of yesterday actually Let me know if yuo have some feedback The only one that appears to be consistently usable is the last one, which does look a bit more boring in my opinion but also being a tiny bit boring is totally fine if it makes the graph accessible For reference, this is the accessible one Prioritizing accessibility, I have these two options Bokeh's Light palette
4730
4730OP•2w ago
No description
4730
4730OP•2w ago
And the same palette with a custom purple, which lookint at this https://davidmathlogic.com/colorblind/#%2377AADD-%2399DDFF-%23EE8866-%23EEDD88-%236A3D9A-%23FFAABB should be good
Coloring for Colorblindness
This interactive visual tool lets you see how accessible your color palettes are to viewers who are colorblind.
4730
4730OP•2w ago
No description
4730
4730OP•2w ago
Sorry for flooding you guys with this stuff lol
j0rge
j0rge•2w ago
no way we've needed this level of expertise! you're doing a great job! however you think the graphs should look, go for it!
4730
4730OP•2w ago
PR's out for the colours, I'm gonna refine the legend sorting thing as well as look into adding LTS variants
4730
4730OP•2w ago
I'm cooking
No description
j0rge
j0rge•2w ago
nice! I'd love a Bluefin only one for the bluefin docs, with just LTS, GTS, and stable @tulip🌷 does GTS countme different?
tulip🌷
tulip🌷•2w ago
oh i think it countmes as if its the same thing as any other bluefin
j0rge
j0rge•2w ago
maybe we should split that, I'll file an issue for later.
4730
4730OP•2w ago
Also Bluefin LTS first had Achillobator as a name, so now I'm counting them together which makes sense to me Hm actually I'm afraid differentiating between lts and stable might not work Imma give it a better look Non LTS vs LTS is like this
4730
4730OP•2w ago
No description
j0rge
j0rge•2w ago
also makes no sense that achillobator would have 1k devices
4730
4730OP•2w ago
Yea it looks weird maybe initial hype?
j0rge
j0rge•2w ago
oh maybe the arm images?
4730
4730OP•2w ago
that too they count too I have it in a vm on my mac lol
j0rge
j0rge•2w ago
yeah that would make sense
4730
4730OP•2w ago
No description
4730
4730OP•2w ago
I was cutting out some stuff earlier But yea in early february there's like 300 hits for arm achillobator
j0rge
j0rge•2w ago
wow that's really reassuring actually! cc @tulip🌷
tulip🌷
tulip🌷•2w ago
wow?
4730
4730OP•2w ago
also yea @tulip🌷 was right, can't tell gts or stable apart from countme
tulip🌷
tulip🌷•2w ago
i expected bluefin LTS to be at like 0.1k or something
j0rge
j0rge•2w ago
yeah this bodes well
4730
4730OP•2w ago
PR's out Ah I think I need to change the workflow to explicitly get the new graphs just saw you run it
j0rge
j0rge•2w ago
what filename do I use?
4730
4730OP•2w ago
ublue_lts.svg for this one then bluefins.svg and auroras.svg
j0rge
j0rge•2w ago
?
No description
j0rge
j0rge•2w ago
like this?
4730
4730OP•2w ago
I think so hm maybe it wants the file commited
j0rge
j0rge•2w ago
should I touch 3 empty ones?
4730
4730OP•2w ago
probs that would do it watch out you made bluefin.svg not bluefins
j0rge
j0rge•2w ago
ok got it running
4730
4730OP•2w ago
nice hm they didn't update ah nuts my bad all the names are prefixed with 'growth_' so growth_bluefins.svg and such
j0rge
j0rge•2w ago
got it
4730
4730OP•2w ago
again that remotes error ah the workflow file still has the old names
j0rge
j0rge•2w ago
on it
4730
4730OP•2w ago
ayy we got it
j0rge
j0rge•2w ago
DISCO! one more thing is there a less puke green version for the LTS?
4730
4730OP•2w ago
hahahah
4730
4730OP•2w ago
so right now I'm using this palette
No description
4730
4730OP•2w ago
which is colorblind friendly but yeah
j0rge
j0rge•2w ago
blue for bluefin
4730
4730OP•2w ago
some of the colours aren't that amazing
j0rge
j0rge•2w ago
and then red for LTS?
4730
4730OP•2w ago
Yea I only picked that vile green becasue I wanted them to be unique but also Bluefin LTS won't be shown alongside say, kinoite
j0rge
j0rge•2w ago
right ok I'll file the issue for counting GTS
4730
4730OP•2w ago
This way bluefin lts has the same colour has aurora tho
No description
j0rge
j0rge•2w ago
nice that's looking slick
j0rge
j0rge•2w ago
GitHub
Distinguish GTS from stable · Issue #2323 · ublue-os/bluefin
For homebrew and for countme let's split out GTS so we can count it, here's the existing chart. Let's keep stable/latest as just Bluefin but Bluefin GTS for the GTS.
j0rge
j0rge•2w ago
@tulip🌷 should we split out gdx?
4730
4730OP•2w ago
If you suppose aurora and bluefin lts won't be in the same graph I'll use that colour since it looks good I think
tulip🌷
tulip🌷•2w ago
i dont think its different enough to be split its a different premise but its mostly the exact same stuff
4730
4730OP•2w ago
Stuff like -nvidia and -dx does show up tho But LTS is always 'generic' I think
j0rge
j0rge•2w ago
IMO having those charted out is useful, even though we wouldn't surface them on the website I can see us using them every release though, "63% of you are on -dx" and I think for bazzite doing per-device charts will be killer

Did you find this page helpful?