astropy:docs

Ticks

class aplpy.Ticks(parent)[source]

Bases: object

Methods Summary

hide() Hide the x- and y-axis ticks
hide_x() Hide the x-axis ticks
hide_y() Hide the y-axis ticks
set_color(color) Set the color of the ticks
set_length(length[, minor_factor]) Set the length of the ticks (in points)
set_linewidth(linewidth) Set the linewidth of the ticks (in points)
set_minor_frequency(frequency) Set the number of subticks per major tick.
set_xspacing(spacing) Set the x-axis tick spacing, in degrees.
set_yspacing(spacing) Set the y-axis tick spacing, in degrees.
show() Show the x- and y-axis ticks
show_x() Show the x-axis ticks
show_y() Show the y-axis ticks

Methods Documentation

hide()[source]

Hide the x- and y-axis ticks

hide_x()[source]

Hide the x-axis ticks

hide_y()[source]

Hide the y-axis ticks

set_color(color)[source]

Set the color of the ticks

set_length(length, minor_factor=0.5)[source]

Set the length of the ticks (in points)

set_linewidth(linewidth)[source]

Set the linewidth of the ticks (in points)

set_minor_frequency(frequency)[source]

Set the number of subticks per major tick. Set to one to hide minor ticks.

set_xspacing(spacing)[source]

Set the x-axis tick spacing, in degrees. To set the tick spacing to be automatically determined, set this to ‘auto’.

set_yspacing(spacing)[source]

Set the y-axis tick spacing, in degrees. To set the tick spacing to be automatically determined, set this to ‘auto’.

show()[source]

Show the x- and y-axis ticks

show_x()[source]

Show the x-axis ticks

show_y()[source]

Show the y-axis ticks

Page Contents