issue-tracking icon indicating copy to clipboard operation
issue-tracking copied to clipboard

[Bug] Panels don't scale appropriately when resizing

Open florianblume opened this issue 3 years ago • 3 comments

Describe the Bug

When adding a panel and then changing its size it doesn't always scale appropriately but for example covers only the leftmost part when scaling to the right, like this for example:

Screenshot from 2022-02-01 11-26-32

When clicking on edit and closing the edit view again, the panel is being reloaded and scales appropriately.

Expected behavior

Maybe reload the panel directly when resizing, I'm not sure whether there is some technical reason why this isn't implemented.

Where is the issue?

  • [ ] Comet Python SDK
  • [X] Comet Javascript SDK
  • [X] Comet UI
  • [ ] Third Party Integrations (Huggingface, TensorboardX, Pytorch Lighting etc)

To Reproduce

Steps to reproduce the behavior:

  1. Add my publicly available Group Bar Chart v3 (supports grouping by experiment Name)
  2. Click on edit layout
  3. Resize the panel in the horizontal axis
  4. See how it doesn't scale
  5. Click on edit of the panel
  6. Click on Apply without making any changes
  7. The panel should have scaled appropriately

florianblume avatar Feb 01 '22 10:02 florianblume

Thanks for reporting this @florianblume. I was able to reproduce your issue. Indeed this looks like a bug. I'll let the the team know about the behavior and post an update here when a fix has been pushed.

DN6 avatar Feb 02 '22 12:02 DN6

Hi @florianblume. We just pushed a fix for this issue. Plotly Panels should resize automatically now.

DN6 avatar Mar 25 '22 11:03 DN6

Cool, will check it out!

florianblume avatar Mar 25 '22 11:03 florianblume

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Oct 19 '23 21:10 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Oct 24 '23 21:10 github-actions[bot]