[RFC] Documenting colorschemes
cormullion opened this issue ยท 6 comments
Wondering if anyone has comments on the display of colorschemes; now that Documenter.jl can do multiple SVGs easily I've changed the code a bit.
https://juliagraphics.github.io/ColorSchemes.jl/latest/basics/#cmocean
I have two uninvited comments! (I hope you don't mind ๐)
-
I actually almost started an issue to ask if somehow the colorscheme names could be actual text instead of inside an image (svg or not) so that they are easily searchable in the browser. Since you are thinking of revamping this part, I thought I'd mention it here ๐
-
I just checked the dev-version of the docs and noticed that the new display has an issue for some of the colorscheme categories (but maybe this is just because it's a WIP, or maybe it's just on my side ๐ค):
colorschemes_display_bug.mov
Thanks! Yes I think it would be better with plain text and separate image swatches.
SVGs are great until they get complicated - then browsers can start to choke.
v3.13 has another attempt at the catalogue. Still work in progress I suppose... :)
Oh, that's nice! Although Another comment is that now that there's only one colormap displayed each time, maybe the entire width is too much? What about half-width?
(BTW let me know if these uninvited comments are just useless noise and I'll stop!)
(No, it's good to know that someone cares! ๐ )
I don't know - one person's "too much" is another persons "not enough"! I just went for the default width.
I'll check it out on mobile as well. Always room for improvements. If you want to try some tweaks, the code is stored in the head of "catalogue.md".
one person's "too much" is another persons "not enough"!
Sure, It's just that it used to be 2 colormaps (continous and categorical) on the same line so they used to display with half the width and it sort-of struck me that they looked too big. FWIW, this is a side to side (well top to bottom) comparison with matplotlib's colormaps display on their website:
I'll check it out on mobile
Do people... make plots on mobile? That seems like a very niche use!