Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-offset "hanging" twin axes #51

Open
lukelbd opened this issue Oct 3, 2019 · 3 comments
Open

Auto-offset "hanging" twin axes #51

lukelbd opened this issue Oct 3, 2019 · 3 comments
Labels
Milestone

Comments

@lukelbd
Copy link
Collaborator

lukelbd commented Oct 3, 2019

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.

@lukelbd lukelbd added the feature label Oct 3, 2019
@lukelbd lukelbd changed the title Allow "hanging" dualx and dualy axes Allow "hanging" twin x and y axes Oct 3, 2019
@lukelbd
Copy link
Collaborator Author

lukelbd commented Oct 3, 2019

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...

@lukelbd lukelbd added this to the Version 1 milestone Nov 28, 2019
@lukelbd lukelbd changed the title Allow "hanging" twin x and y axes Allow "hanging" twin x and y axes and arbitrarily many "twins" Jun 30, 2021
@lukelbd
Copy link
Collaborator Author

lukelbd commented Aug 19, 2021

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

@lukelbd lukelbd changed the title Allow "hanging" twin x and y axes and arbitrarily many "twins" Auto-offset "hanging" twin axes Aug 22, 2021
@lukelbd
Copy link
Collaborator Author

lukelbd commented Dec 1, 2021

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
Labels
Projects
None yet
Development

No branches or pull requests

1 participant