Layout Enhancement proposal: Overloading '-' for vertical
See original GitHub issueI think overloading the minus operator to add elements vertically might be a workable shortcut?
So, instead of doing:
layout = elem1 + elem2
layout.cols(1)
I suggest this as the shortcut for that:
elem1 - elem2
but maybe there are issues with that approach I’m not seeing. Thoughts?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
CSS Grid Layout and progressive enhancement
A simple example of overriding a floated layout using grid. ... I have used the vertical-align property on my item when in the...
Read more >The 5-Week Program for Progressive Overload
Progressive overload is the gradual increase of stress during training. This workout principle increases demand for muscle size, strength, and endurance.
Read more >Overload Factor - an overview
The overload factor approach to design allows the variation of each item of strength (vertical, transverse and longitudinal) to be controlled according to ......
Read more >Eccentric Overloading Methods for Jumpers: Kettlebell ...
Recent research by Patel (2010) has found that a standing vertical jump was more positively associated with work at the hip vs. work...
Read more >2009 Edition Chapter 2A. General - MUTCD
04 Roadway geometric design and sign application should be ... does not preclude further improvement by minor changes in the proportion or ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve previously proposed
e1 / e2
(e1 “over” e2) for that purpose, but I think anything like that is waiting on the Bokeh Layout work that has yet to come to a conclusion.Yes,
.cols(1)
will give you a vertical layout, but what I’m hoping out of/
or-
is a compositional layout, combining both vertical and horizontal layouts, with an expression like(a+b*c)/d + e*f
yielding:Right now, you have to use Panel’s Row and Column objects if you want a layout like that, which is fine but not very convenient and shouldn’t be necessary for hv users since hv has its own notion of layouts that don’t require recourse to an external library.