I am creating plots on my mac notebook and logging them to wandb, and this works. However, wandb displays these plots in a fixed aspect ratio, which only includes a subset of the axis range. I must scroll to see the entire plot, which is inconvenient. The default aspect ratio seems to be chosen to display a nice layout together with other logged items. My question is whether it is possible to specify the aspect ratio for specific logged variables and plotly plots. Thank you. Gordon.
I do not know the answer to my question. However, if I increase the size of the panel, I find that the panel of subsequent runs keeps its shape, even if the run id changes. That is good.
Hi @erlebacher, could you possibly send me a link to your workspace so I can take a look? Also, are the plots originally created in Plotly or are they created in Matplotlib first?
Thank you, Nate. The plots are created in matplotlib first. I no longer have the workspace. But I found that if I scaled the plot manually in the panel, this scaling was maintained. I’d have to create another example to demonstrate this, but won’t have time until Thursday.
Hi @erlebacher, I wanted to check back and see if you had a chance to recreate this in another workspace?
I also wanted to ask if you were looking to specify this in code? One option might be to convert the Matplotlib plot to Plotly in your code first (Plotly has a function to do this) and then adjust the axis before logging to W&B.
We wanted to follow up with you regarding your support request as we have not heard back from you. Please let us know if we can be of further assistance or if your issue has been resolved.
Hi @erlebacher , since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.