the output from a bokeh.models gridplot
combined figure is larger than the maximum cell size in Visual Studio Code's Python Interactive window. I use 3 figures and put them together in a column. Unfortunately that means a lot of scrolling in the interactive window, because the resulting figure is of course about 3 times the size of the single figures. When doing the same thing in Jupyter in the browser, the figure is displayed normally.
I can not simply increase plot_height
, because that increases each figure's individual size. I was hoping for a maximum-size parameter in VSC, but I could not find any.
Any ideas for a solution?
For anyone else who comes upon this, in File -> Preferences -> Settings. Under User settings, under Extensions, under Python, way down in the Data Science options there is a setting for "Max Output Size" which controls the cell height before a scroll bar appears.
Or faster, open Settings and type "Max Output Size" into the search bar.
I'm using VS Code 1.45.1 on Ubuntu.
open Settings and type "Max Output Size" into the search bar.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With