pyvista.plotting.charts.Axis.tick_size#

property Axis.tick_size[source]#

Return or set the size of this axis’ ticks.

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()
https://d33wubrfki0l68.cloudfront.net/2b74819463f26c2ca8c070d844512c4c8bb7206a/a293c/_images/pyvista-plotting-charts-axis-tick_size-1_00_00.png