Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
python3.colortable Namespace Reference

Functions

def int_rgb
 
def float_rgb
 

Variables

dictionary _colortable = { }
 

Detailed Description

# ==================================================================
#   Python module
#
#   color table
#
#                                              Q, 2005
# ==================================================================

Function Documentation

def python3.colortable.float_rgb (   name)

Definition at line 17 of file /colortable.py.

17 
18 def float_rgb(name):
19  rgb = _colortable[name]
20  return (rgb[0]/255., rgb[1]/255., rgb[2]/255.)
21 
22 
23 # ==================================================================
24 # RGB color table (/usr/lib/X11/rgb.txt)
# ==================================================================
def python3.colortable.int_rgb (   name)

Definition at line 13 of file /colortable.py.

13 
14 def int_rgb(name):
15  return _colortable[name]
16 

Variable Documentation

dictionary python3.colortable._colortable = { }

Definition at line 25 of file /colortable.py.