User Tools

Site Tools


root:colorscheme

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
root:colorscheme [2010/08/24 16:58]
abuechle
root:colorscheme [2010/08/24 17:10] (current)
abuechle
Line 17: Line 17:
 and for python: ​ and for python: ​
 <​code>​ <​code>​
 +from array import array 
 def set_palette(name="​palette",​ ncontours=999):​ def set_palette(name="​palette",​ ncontours=999):​
     """​Set a color palette from a given RGB list     """​Set a color palette from a given RGB list
root/colorscheme.txt ยท Last modified: 2010/08/24 17:10 by abuechle