Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Description
Problem
I would like to add subtitle and caption to my axis. Currently, afaik the recommended approach is for subtitle to:
- Use suptitle of figure together with title of the axis.
- 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!