WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
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