Skip to content

params.Frame: Add subtitle support#4591

Merged
seisman merged 4 commits intomainfrom
codex/frame-subtitle-support
Apr 16, 2026
Merged

params.Frame: Add subtitle support#4591
seisman merged 4 commits intomainfrom
codex/frame-subtitle-support

Conversation

@seisman
Copy link
Copy Markdown
Member

@seisman seisman commented Apr 16, 2026

Address #4588

Example

import pygmt
from pygmt.params import Axis, Frame

fig = pygmt.Figure()
fig.basemap(
    region=[0, 20, 0, 3], 
    projection="M10c", 
    frame=Frame(
        axes="WSEN", 
        title="Title", 
        subtitle="SubTitle", 
        axis=Axis(annot=True)
    )
)
fig.show()

@seisman seisman changed the title Add subtitle support to Frame params.Frame: Add subtitle support Apr 16, 2026
@seisman seisman added enhancement Improving an existing feature needs review This PR has higher priority and needs review. labels Apr 16, 2026
@seisman seisman added this to the 0.19.0 milestone Apr 16, 2026
Comment thread pygmt/params/frame.py Outdated
Co-authored-by: Yvonne Fröhlich <94163266+yvonnefroehlich@users.noreply.github.com>
@seisman seisman removed the needs review This PR has higher priority and needs review. label Apr 16, 2026
@seisman seisman merged commit 68e1ed8 into main Apr 16, 2026
15 of 19 checks passed
@seisman seisman deleted the codex/frame-subtitle-support branch April 16, 2026 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improving an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants