Define_metric() hidden parameter issue?

I have the following code:

        wandb.define_metric("epoch", hidden=True)
        wandb.define_metric("train_loss", step_metric="epoch")
        wandb.define_metric("validation_loss", step_metric="epoch")

I want plots of train_loss/epoch and validation_loss/epoch and not that of epoch/step. Even with the hidden parameter set to True, I see the plot of epoch/step on my dashboard (not in the Hidden Panels) with wandb version 0.16.2. I’d appreciate the help!

Hi @sevda-ogut, thank you for reporting this.

We are aware of an issue with the hidden=True parameter not stopping the plots from being automatically plotted and we are investigating a fix for this. I will add your report to our internal ticket so we can reach out if there are any updates on this.

In the meantime, the plots can only be manually deleted from the UI. Let me know if you have any further questions.