# 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.

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

    Create a point layer for axes labels.

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

    Create temporary layer for axes and grid.

  static get_nice_interval(target_step: float) → float

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