Skip to content

Inconsistent width of axes #395

Open
@Yefee

Description

@Yefee

Description

The width of axes are inconsistent.

Steps to reproduce

layout = [[1, 1, 2, 2, 3, 3],
          [4, 4, 4, 5, 5, 5]]

fig, axs = pplt.subplots(layout, sharey=False, proj={4:'merc'}, proj_kw={'lon_0': 180},
                         hratios=[1, 1], refnum=4, wratios= [1, 1, 1, 1, 1, 1], journal='nat2')
axs.format(land=True, landcolor='k')



axs[0].plot(np.arange(10))
axs[1].plot(np.arange(10))
axs[2].plot(np.arange(10))

Expected behavior: [What you expected to happen]
The axes in the top row, axs[0:3], shall have the same width.
Actual behavior: [What actually happened]

axs[1] is wider than the other two.

CleanShot 2022-10-02 at 22 51 40@2x

Proplot version

Matplotlib 3.4.3
Prophet 0.9.5

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