Skip to content

Added feature: Fetch colour by index

Latest
Compare
Choose a tag to compare
@MarangoniCow MarangoniCow released this 09 Dec 16:07
· 2 commits to main since this release

Added a new feature: Fetch colour by index.

To assign colours to a plot in a loop, you can now use the command:
PlotDefaults.fetchColourByIdx(index, initial_shade),
where index is the index of your current for loop, and initial_shade is an additional argument specifying the shade (how light/dark) you want the colours to be.