Skip to content

Prevent shared-label algorithm from ignoring/overwriting distinct axis labels #384

Open
@pulkin

Description

@pulkin

Description

Cannot create a subplot label.

Steps to reproduce

import proplot as p
fig, ax = p.subplots(
        array=[
            (1, 1, 1),
            (1, 1, 1),
            (1, 1, 1),
            (2, 2, 2),
            (3, 3, 3),
            (4, 4, 4),
            (5, 6, 7),
            (8, 9, 10),
        ],
        refwidth=2.5, refheight=1.25, refnum=1,
        abc="(a)", abcloc='ul', sharex=True, sharey=True, titleloc='uc',
        hspace=[None, None, None, 0, 0, None, None],
        wspace=None)
ax[1:4].format(xlabel="ok xlabel", ylabel="ok ylabel")
ax[4:].format(xlabel="ok xlabel", ylabel="not ok ylabel")
fig.savefig("test_proplot.png")

Expected behavior: not ok ylabel should be visible

Actual behavior: not ok ylabel is absent

Proplot version

0.9.5.post332 3.5.2

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