Skip to content

Expose axis label control on show() #763

Description

@timtreis

show() has no way to set x/y axis labels. Downstream callers (squidpy's spatial_scatter/spatial_segment have an axis_label kwarg) currently have to reach into the returned axes and call ax.set_xlabel/ax.set_ylabel after the fact, per-panel.

Request: an axis_label (or xlabel/ylabel) kwarg on show() that sets the axis labels on every rendered panel, consistent with how title= already works.

  • Accept a single str applied to all panels, or an (x, y) pair.
  • None keeps current behavior (no labels).

Version: 0.4.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions