Axes
bqplot.axes
Axis
Bases: BaseAxis
A line axis.
A line axis is the visual representation of a numerical or date scale.
ATTRIBUTE | DESCRIPTION |
---|---|
icon |
The font-awesome icon name for this object.
TYPE:
|
axis_types |
A registry of existing axis types.
TYPE:
|
orientation |
The orientation of the axis, either vertical or horizontal
TYPE:
|
side |
The side of the axis, either bottom, top, left or right.
TYPE:
|
label |
The axis label
TYPE:
|
tick_format |
The tick format for the axis, for dates use d3 string formatting.
TYPE:
|
scale |
The scale represented by the axis
TYPE:
|
num_ticks |
If tick_values is None, number of ticks
TYPE:
|
tick_values |
Tick values for the axis
TYPE:
|
tick_labels |
Override the tick labels with a dictionary of {value: label}. Entries are optional, and if not provided, the default tick labels will be used.
TYPE:
|
offset |
Contains a scale and a value {'scale': scale or None, 'value': value of the offset} If offset['scale'] is None, the corresponding figure scale is used instead.
TYPE:
|
label_location |
The location of the label along the axis, one of 'start', 'end' or 'middle'
TYPE:
|
label_color |
The color of the axis label
TYPE:
|
grid_lines |
The display of the grid lines
TYPE:
|
grid_color |
The color of the grid lines
TYPE:
|
color |
The color of the line
TYPE:
|
label_offset |
Label displacement from the axis line. Units allowed are 'em', 'px' and 'ex'. Positive values are away from the figure and negative values are towards the figure with respect to the axis line.
TYPE:
|
visible |
A visibility toggle for the axis
TYPE:
|
tick_style |
Dictionary containing the CSS-style of the text for the ticks.
For example: font-size of the text can be changed by passing
TYPE:
|
tick_rotate |
Degrees to rotate tick labels by.
TYPE:
|
ColorAxis
Bases: Axis
A colorbar axis.
A color axis is the visual representation of a color scale.
ATTRIBUTE | DESCRIPTION |
---|---|
scale |
The scale represented by the axis
TYPE:
|