sastraxi / vizier

Dead-easy python reporting.
http://pypi.python.org/pypi/vizier/
GNU Lesser General Public License v2.1
3 stars 0 forks source link

Create Axis object and pass in for X/Y axes #17

Closed sastraxi closed 13 years ago

sastraxi commented 13 years ago

title formatter = lambda value: str(value) minor_interval = (1, Tick) major_interval = (3, Line) label_frequency = 3 # defaults to major_interval frequency, set to None to disable labels tick_position = Inside/Outside

Eventually LEFT/RIGHT or TOP/BOTTOM.

Very eventually, come up with another class that is subclassed called SecondaryAxis that will take in the other axis object, ask it to calculate itself and then use its metrics, merely applying its own label.