Skip to content

Auto-offset "hanging" twin axes #51

Open

Description

@lukelbd

Like this:

I think this is cleaner and more obvious than the current dualx and dualy behavior, which looks like this:

Although this might be more suitable for the workflow described in #46 -- permitting arbitrarily "stacked" objects along the sides of each axes.

Activity

  1. changed the title [-]Allow "hanging" dualx and dualy axes[/-] [+]Allow "hanging" twin x and y axes[/+] on Oct 3, 2019
  2. lukelbd commented on Oct 3, 2019

    @lukelbd
    CollaboratorAuthor

    In fact a really nice addition to the API might be to permit "axis legends", where instead of drawing a legend, we use color-coded, stacked, hanging x and y-axes, with axis labels instead of legend labels. This would be suitable for comparing data with vastly different ranges.

    So many ideas, so little time...

  3. added this to the Version 1 milestone on Nov 28, 2019
  4. changed the title [-]Allow "hanging" twin x and y axes[/-] [+]Allow "hanging" twin x and y axes and arbitrarily many "twins"[/+] on Jun 30, 2021
  5. lukelbd commented on Aug 19, 2021

    @lukelbd
    CollaboratorAuthor

    Arbitrarily many twins are now implemented (see #226). The specific "hanging" axis feature is probably not high priority.

  6. changed the title [-]Allow "hanging" twin x and y axes and arbitrarily many "twins"[/-] [+]Auto-offset "hanging" twin axes[/+] on Aug 22, 2021
  7. lukelbd commented on Dec 1, 2021

    @lukelbd
    CollaboratorAuthor

    For those interested, it is now very easy to generate "hanging" axes in proplot with e.g. ax.altx(loc=('axes', 1.1)) -- although the positions are still not auto-adjusted. See this example from the website.

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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions