Skip to content

SvenJachalke/tubafcdpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tubafcdpy

Author: Sven Jachalke Mail: [email protected]

Installation

Module tubafcd

  • fire up terminal
  • navigate to tubafcd folder
  • type: python setup.py install
  • wait until installation finished

import

  • from tubafcd import *
  • (just use TUBAFrot() -- returning color tuple)
  • import tubafcd
  • (tubafcd.TUBAFrot())

TUBAFcolors:

Color functions

  • TUBAFred() = tubafred() ... red TUBAF color
  • TUBAFblue() = tubafblue() ... blue TUBAF color
  • TUBAFgree() = tubafgree() ... green TUBAF color
  • TUBAForange() = tubaforange() ... orange TUBAF color
  • TUBAFcyan() = tubafcyan() ... cyan TUBAF color
  • returns RGB tuple

Color map

  • TUBAFcmap(direction='regular')
    • direction: 'regular','inverse'
    • 'regular' ... from blue to red
    • 'inverse' ... from red to blue
    • call of TUBAFcmap() gives 'regular'!
    • (return colormap object for e.g. imshow, etc.)

About

TU Bergakademie Freiberg Corporate Design for Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages