Why the subplot second panel is getting cut?

Hello everyone! I am experiencing an issue with plotting using PyGMT and would appreciate some help. My second panel subplot seems to be getting cut off. Can anyone suggest why this might be happening and how to fix it? I’d also appreciate input on ensuring both subplots display fully, especially with map scales and coastlines. Thanks!

proj = "M15c"

# Topography & CPT
relief = pygmt.datasets.load_earth_relief(resolution="15s", region=region)
pygmt.makecpt(cmap="terra", series=[-1000, 8848], output="topo.cpt")

# Plot
fig = pygmt.Figure()

with fig.subplot(nrows=1, ncols=2, figsize=["32c", "16c"], sharey="l", margins=["0.1c", "0.1c"]):
    # Observed panel (left)
    with fig.set_panel(0):
        fig.grdimage(
            grid=relief,
            shading=True,
            region=region,
            projection=proj,
            cmap="topo.cpt",
            frame=["xa", "Wse"]
        )
        fig.coast(
            region=region,
            projection=proj,
            shorelines=False,
            resolution="i",
            borders=[1, 2]
        )
        # Map scale
        fig.basemap(map_scale="JBL+o-3.7c/3.0c+w500k+f+u")

    # Modeled panel (right)
    with fig.set_panel(1):
        fig.grdimage(
            grid=relief,
            shading=True,
            region=region,
            projection=proj,
            cmap="topo.cpt",
            frame=["xa", "Wse"]
        )
        fig.coast(
            region=region,
            projection=proj,
            shorelines=False,
            resolution="i",
            borders=[1, 2]
        )
        # Map scale
        fig.basemap(map_scale="JBL+o-3.7c/3.0c+w500k+f+u")

fig.show()

Hi @geodacharya,
welcome to the GMT forum :slightly_smiling_face: !

In subplot mode, the sizes of the maps are determined automatically, and a ? is used instead of the size together with the projection letter. Is your map completely plotted if you change proj="M15c" to proj="M?" ?

Hello @yvonnefroehlich! No, it did not plot completely if I change proj="M?" .

What are the GMT and ghostscript versions you’re using?

I am using the # check version print(pygmt.__version__) v0.13.0
and ghostscript version is
10.05.1.