ThetaRadianFormatter#

class glue.core.util.ThetaRadianFormatter(axis_label=None)[source]#

Bases: Formatter

Used to format the theta tick labels in radians

Attributes Summary

limit_den

max_den

max_num

Methods Summary

__call__(x[, pos])

Return the format for tick value x at position pos.

format_ticks(values)

Return the tick labels for all the ticks at once.

rad_fn(x[, digits])

Attributes Documentation

limit_den = 10000#
max_den = 20#
max_num = 20#

Methods Documentation

__call__(x, pos=None)[source]#

Return the format for tick value x at position pos. pos=None indicates an unspecified location.

format_ticks(values)[source]#

Return the tick labels for all the ticks at once.

classmethod rad_fn(x, digits=2)[source]#