rockverse.viz.OrthogonalViewer.hide_axis#

property OrthogonalViewer.hide_axis#

Boolean flag to control the visibility of image axes and labels.

When set to True, the axes and labels for the image slices will not be drawn, providing a cleaner visual presentation that focuses solely on the image data. This can be useful in cases where the axes are not needed for interpretation or when a more aesthetic visualization is desired. The default value is False.

Examples

>>> viewer.hide_axis         # Get the current visibility state of the axes
>>> viewer.hide_axis = True  # Hide the axes and labels
>>> viewer.hide_axis = False # Show the axes and labels