tick_labels_offset#

property Axis.tick_labels_offset#

Return or set the offset of the tick labels for this axis.

Examples

Create a 2D chart with an x-axis with an increased tick size and adjusted offset for the tick labels.

>>> import pyvista
>>> chart = pyvista.Chart2D()
>>> _ = chart.line([0, 1, 2], [2, 1, 3])
>>> chart.x_axis.tick_size += 10
>>> chart.x_axis.tick_labels_offset += 12
>>> chart.show()
../../../../_images/pyvista-plotting-charts-Axis-tick_labels_offset-1_00_00.png