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

Feature Request: Turning axis displays on and off #5

Open
OlyDLG opened this issue Feb 12, 2015 · 0 comments
Open

Feature Request: Turning axis displays on and off #5

OlyDLG opened this issue Feb 12, 2015 · 0 comments

Comments

@OlyDLG
Copy link

OlyDLG commented Feb 12, 2015

One should be able to turn off/on the display of everything "labeling" an axis, i.e., the label, ticks, grid-lines, even the axis itself, via one API. Example use-case: stacking multiple graphs in existing Layout objects in such a way that they share one common (e.g., time) axis (I see this as potentially a quicker way to achieve the same end result as my other request for a single Graph object to support it's own multi-plot presentation, but feel that it should have a "life of its own" as well). Suggested API: Graph([x|y|z]axis={'line'=[T|F], 'label'=[T|F], 'Mticks'=[T|F], 'mticks'=[T|F], etc.}) with corresponding get & set methods, and a convenience kwarg [x|y|z]axis=[T|F] that would "broadcast" the value to all the axis properties (again w/ a corresponding set method). (The individual properties API would still be necessary because a frequent use case would be to turn everything off EXCEPT the axis line itself; one might even argue that this too should have its own convenience kwarg and set method, although I guess one could easily do that by turning everything off and then turning just the line back on.) Thanks!

@matham matham transferred this issue from kivy-garden/garden.graph Jun 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant