# sec_interp.gui.preview_axes_manager module

Axes and grid management for SecInterp preview.

Handles the creation of grid lines and axes labels with nice intervals.

class sec_interp.gui.preview_axes_manager.PreviewAxesManager

  Bases: `object`

  Manages the creation and styling of axes and grid lines for the preview.

  static get_nice_interval(target_step: float) → float

    Calculate a nice interval for grid lines (1-2-5 sequence).

  classmethod create_axes_layer(extent, vert_exag: float = 1.0) → qgis.core.QgsVectorLayer | None

    Create temporary layer for axes and grid.

  classmethod create_axes_labels_layer(extent, vert_exag: float = 1.0) → qgis.core.QgsVectorLayer | None

    Create a point layer for axes labels.