Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[ENH]: Subtitle and caption #23873

Open
Open
@JanPalasek

Description

@JanPalasek

Problem

I would like to add subtitle and caption to my axis. Currently, afaik the recommended approach is for subtitle to:

  1. Use suptitle of figure together with title of the axis.
  2. Manually position your own text to define the subtitle.

However, often I have multiple axes for one figure, where I would like to add subtitle to all of them. In this situation, suptitle is not feasible. Also, positioning it usingtext API can be a bit tedious, especially when having a lot of axes.

With caption, the recommended approach (afaik) is to position it withtext. When I do this in practice, I have to manually tune the position for every graph, depending on the value of xlabel.

Proposed solution

It would be great if we had a bithigher-level API for subtitle and caption. They are very comonly needed when plotting the data.

Two new functions onAxis object likeset_subtitle andset_caption would be great!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp