chaco.plots.text_plot_1d module¶
A plot that renders text values along one dimension
-
class
chaco.plots.text_plot_1d.
TextPlot1D
(**traits)¶ Bases:
chaco.base_1d_plot.Base1DPlot
A plot that positions textual labels in 1D
-
alignment
= Enum("center", "left", "right", "top", "bottom")¶ alignment of text relative to non-index direction
-
index_alignment
= Enum("right", "center", "left", "top", "bottom")¶ alignment of text relative to index direction and centered around the provided value point
-
text_alignment
= Enum("edge", "corner")¶ the anchor point of the text (corner is better for 45 degree rotation)
-
text_color
= black_color_trait¶ The color of the tick labels.
-
text_font
= KivaFont("modern 10")¶ The font of the tick labels.
-
text_margin
= Int(2)¶ The margin around the tick labels.
-
text_offset
= Float¶ offset of text relative to non-index direction in pixels
-
text_rotate_angle
= Float(0)¶ The rotation of the tick labels.
-
value
= Instance(ArrayDataSource)¶ text values corresponding to indices
-