Chart2D.x_axis#
Examples#
Download Python source code | Download Jupyter notebook
Create a 2D plot and hide the x-axis.
>>> import pyvista as pv
>>> chart = pv.Chart2D()
>>> _ = chart.line([0, 1, 2], [2, 1, 3])
>>> chart.x_axis.toggle()
>>> chart.show()
Used In#
Docstring Examples
AreaPlot(3 uses)StackPlot(3 uses)Axis.behavior(2 uses)Axis.grid_pen(2 uses)Axis.pen(2 uses)12 more
Axis.tick_labels_offset(2 uses)Axis.tick_size(2 uses)BarPlot(2 uses)Chart2D(2 uses)Axis.grid(1 use)Axis.label(1 use)Axis.label_size(1 use)Axis.label_visible(1 use)Axis.margin(1 use)Axis.range(1 use)Axis.tick_count(1 use)Axis.tick_label_size(1 use)
Gallery Examples