vispy.visuals.axis.
AxisVisual
Bases: vispy.visuals.visual.CompoundVisual
vispy.visuals.visual.CompoundVisual
Axis visual
Co-ordinates of start and end of the axis.
The data values at the beginning and end of the axis, used for tick labels. i.e. (5, 10) means the axis starts at 5 and ends at 10. Default is (0, 1).
The tick direction to use (in document coordinates).
The type of scale. For now only ‘linear’ is supported.
RGBA values for the axis colour. Default is black.
RGBA values for the tick colours. The colour for the major and minor ticks is currently fixed to be the same. Default is a dark grey.
The color to use for drawing tick and axis labels
The length of minor ticks, in pixels
The length of major ticks, in pixels
Line width for the ticks
Margin between ticks and tick labels
The font size to use for rendering tick labels.
Line width for the axis
Text to use for the axis label
Margin between ticks and axis labels
The font size to use for rendering axis labels.
Font size for both the tick and axis labels. If this is set, tick_font_size and axis_font_size are ignored.
A 2-element iterable (tuple, list, etc.) giving the horizontal and vertical alignment of the tick labels. The first element should be one of ‘left’, ‘center’, or ‘right’, and the second element should be one of ‘bottom’, ‘middle’, or ‘top’. If this is not specified, it is determined automatically.
axis_color
axis_font_size
axis_label
Text to use for the axis label.
axis_label_margin
axis_width
domain
The data values at the beginning and end of the axis, used for tick labels.
major_tick_length
minor_tick_length
pos
text_color
tick_color
tick_direction
tick_font_size
tick_label_margin
tick_width
MaxNLocator
Bases: object
object
Select no more than N intervals at nice locations.
bin_boundaries
tick_values
view_limits
Ticker
Class to determine tick marks
The AxisVisual to generate ticks for.
get_update
scale_range