-
Notifications
You must be signed in to change notification settings - Fork 12
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
Height of annotating area limited to 450px #4
Comments
Yes, good point. I have tried, fairly hard, to get the program to use more space. But have been unable to figure it out. I can blow the images up, but that isn't a good solution generally. I could perhaps detect the orientation automatically and rotate 90 degrees if portrait ... Let me know if you have any insight into how to make this happen! I will continue to think |
The code that relates to the image size is, in
and in
which can be changed to:
but that doesn't make the image larger. This code is supposed to scale the figure to the current image height and width (in plot_utils.py - notice
so the fact that doesn't work means there is something on the dash/html side that I don't understand ... |
I think it's that the plotly figure is setting itself to the default height. I was able to make it larger (taller) by adding It's not responsive/doesn't automatically fill available space, but it is a bit easier on the eyes with the additional height. |
Oh, excellent! Thanks Dan |
I think I'll enfore that in
|
I've made that change and shifted the margins a little, and the control panel is slightly narrower to accommodate the larger image. Thanks @dnowacki-usgs ! The next push will have this change, plus a few performance improvements |
This is an issue especially for portrait-oriented images. Even if the browser window is full width, the actual dash frame with the image to be annotated is limited to 450px height, leaving a ton of unused space beneath. It would be great if it continued to expand in height as it does with width.
The text was updated successfully, but these errors were encountered: