Skip to content

Expose axis label control on show() #763

Closed

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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