You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of expected behavior and the observed behavior
Expect to keep the aspect ratio of image as is when the browser window is resized.
However, the aspect ratio of image will change when the browser window is resized.
Complete, minimal, self-contained example code that reproduces the issue
# code goes here between backticks
from bokeh.plotting import figure, show
from bokeh.layouts import layout
p = figure(match_aspect=True)
p.image_url(['https://static.bokeh.org/logos/logo.png'],0,0,1,1)
layer = layout(p, sizing_mode='stretch_both')
show(layer)
FOLLOW THESE INSTRUCTIONS CAREFULLY
ISSUES THAT DO NOT CONTAIN NECESSARY INFORMATION MAY BE CLOSED, IMMEDIATELY
The issue tracker is NOT the place for general support. For questions and technical assistance, come join the Bokeh Project Discourse.
For defects or deficiencies, please provide ALL OF THE FOLLOWING:
ALL software version info (bokeh, python, notebook, OS, browser, any other relevant packages)
bokeh=2.1.1
python=3.8.3
OS=windows 10
brower=Firefox 79
Description of expected behavior and the observed behavior
Expect to keep the aspect ratio of image as is when the browser window is resized.
However, the aspect ratio of image will change when the browser window is resized.
Complete, minimal, self-contained example code that reproduces the issue
Stack traceback and/or browser JavaScript console output
Screenshots or screencasts of the bug in action
The text was updated successfully, but these errors were encountered: