Makie.jl: Define reverse(:Symbol).

Created on 25 Oct 2018  路  8Comments  路  Source: JuliaPlots/Makie.jl

It would be good to define (and document!!!)

reverse(symbol) = reverse(to_colormap(symbol)) that reverses the direction of a colormap.

documentation vizcon

Most helpful comment

I implemented it in 162421b as Reverse(:viridis) ... _r seems arbitrary and hard to understand for a newcomer...

All 8 comments

FWIW, PlotUtils supports simply adding _r to any color map to reverse it, e.g. :Spectral_r.

I implemented it in 162421b as Reverse(:viridis) ... _r seems arbitrary and hard to understand for a newcomer...

I added the vizcon label for documentation :D

Fair enough, just saw the slack convo.

Was this documented?

No...

Then why was it closed ? :P

Noone can find the existence of this reverse unless it is documented.

sigh i guess you're right :D

Was this page helpful?
0 / 5 - 0 ratings