Skip to content

top ticks not shown for last axes #294

@mdmould

Description

@mdmould

Using the option top_ticks=True does not add the ticks to the last (bottom right) panel, e.g.:

import numpy as np
import corner

fig = corner(np.random.normal(size = (10_000, 2)), top_ticks = True)
Image

One can add it back in manually, e.g.,

fig.axes[-1].tick_params(
    axis = 'x', top = True, labeltop = True,
    rotation = fig.axes[-1].get_xticklabels()[0].get_rotation(),
)
Image

but it'd be good to work as intended.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions