-
Notifications
You must be signed in to change notification settings - Fork 377
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
Better default window size when running in notebooks #2289
Comments
The window size only feels big with side-panels hidden. If we show selection/blueprint we need all the space we can get. Regarding resizing the iFrame to fit the data, it would be nice but will definitely require some thought to get right. For example, we probably only want to resize once to avoid bad cycles of the new size causing the layout to change, in turn, asking for a different size. But also it’s not clear what update pass we want to use to do the calculation since different time points/timelines/app-states will all want different heights. |
Thus: |
@jprochazk @jleibs now that you come back fresh from notebook land: Is it realistic for us to do this in the future or are the controls we have for dynamically sizing the widget too limited? |
There's no restriction to how we can size the widget. We just need to update |
When displaying Rerun in a notebook, the default window size is way too big. We should use a smaller size by default. Pyplot uses a default figsize default: 6.4 x 4.8 inches so I suggest we go with that for starters.
Related (perhaps should be a different issue):
Would be great if the window could be sized to fit the data (when that makes sense) so that we don't show unnecessary "dead" areas
The text was updated successfully, but these errors were encountered: