You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
matham
transferred this issue from kivy-garden/garden.graph
Jun 16, 2019
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!
The text was updated successfully, but these errors were encountered: