![]() Stretch_both: If neither a width, height or aspect are defined the plot will stretch to fill all available space. Scaling ensures that the aspect ratio of the plot is maintained. ![]() Scale_both: If neither a width or a height are defined but a fixed aspect is defined both axes will be scaled up to the maximum size of the container. This leaves four different responsive modes: when width and height or width and aspect are set the plot is set to a fixed size, ignoring any responsive option. Specifically responsive mode will only work if at least one dimension of the plot is left undefined, e.g. If enabled, the behavior of responsive modes depends on whether an aspect or width/height option is set. ![]() Since bokeh plots are rendered within a browser window which can be resized dynamically it supports responsive sizing modes allowing the plot to rescale when the window it is placed in is changed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |