Skip to content

Inconistent formatting when setting labelloc for shared axes #176

Closed

Description

@cvanelteren

Ah I see... that is a different bug.

To explain what is happening. The axes are shared which makes the left most and bottom most subplot the references. If you set the ticks to be top and right, it updates them for the references. What you want, I think, is set the top labels on for the top and right labels for the right most axes.

Originally posted by @cvanelteren in #155

import ultraplot as pplt
fig, axs = pplt.subplots(ncols=2, nrows=2,share='all',refwidth='2cm')
axs.format(xlim=(0,60),ylim=(-20,20), xticklabelloc='t', yticklabelloc='r')
pplt.show()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions