Chart2D.y_axis#
Examples#
Download Python source code | Download Jupyter notebook
Create a 2D plot and hide the y-axis.
>>> import pyvista as pv
>>> chart = pv.Chart2D()
>>> _ = chart.line([0, 1, 2], [2, 1, 3])
>>> chart.y_axis.toggle()
>>> chart.show()
Used In#
Docstring Examples
Axis.tick_labels(2 uses)Axis.tick_locations(2 uses)AreaPlot(1 use)Axis.log_scale(1 use)Axis.margin(1 use)5 more
Axis.tick_labels_visible(1 use)Axis.ticks_visible(1 use)Axis.toggle(1 use)Axis.visible(1 use)StackPlot(1 use)
Gallery Examples