Update Layout Documentation
See original GitHub issueBoth 'stretch_height'
and 'stretch_both'
sizing_modes don’t actually fill the whole screen whatever I do in the released bokeh 1.1.0 whatever I do. This worked for most of the release candidates so I’ll try to track down at what point the regression occurred.
bokeh 1.1.0 Python 3.6 OS: OSX 10.13.4 Browser: Chrome 73.0.3683.103
from bokeh.plotting import figure, Row, output_file, show
output_file('test.html')
p1 = figure(sizing_mode='stretch_both')
p1.scatter([1, 2, 3], [1, 2, 3])
p2 = figure(sizing_mode='stretch_both')
p2.scatter([1, 2, 3], [1, 2, 3])
show(Row(p1, p2))
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
plotly.graph_objects.Layout — 5.11.0 documentation
autosize – Determines whether or not a layout width or height that has been left ... transition – Sets transition options used during...
Read more >updatelayout - jQuery Mobile API Documentation
This event is triggered by components within the framework that dynamically show/hide content, and is meant as a generic mechanism to notify other...
Read more >layoutIfNeeded() | Apple Developer Documentation
Use this method to force the view to update its layout immediately. When using Auto Layout, the layout engine updates the position of...
Read more >Update_layout argument list with Plotly - python - Stack Overflow
... single example the layout is updated with fig.update_layout(. ... it in the Plotly documentation: plotly.com/python/reference/#layout.
Read more >Layout - OroCommerce, OroCRM and OroPlatform ...
A layout update is a set of actions that should be performed with the layout in order to customize the page look depending...
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
We clearly need to update the docs on layout (which have always been fairly thin) so I will use this issue to track that.
Row()
androw()
behavior is different when it comes to applying sizing mode to its children. This is an unfortunate difference that was inherited from the old layout. I will be happy to unify this in 2.0. This aside, layout should allow for both inside out and outside in expansion, so this is clearly a bug in the layout.