I’m trying to plot the figure as in [W&B Smoothing Features], but it didn’t provide any code:
Tutorials I could find by searching wandb multiline in one plot
is [Custom Multi-Line Plots] which introduces wandb.plot.line_series()
. So I tried the code following
import wandb
import numpy as np
wandb.init(project="test", entity="xxxx")
wandb.log({"my_custom_id":
wandb.plot.line_series(
xs=range(100),
ys=[range(100), np.random.randint(100, size=100)],
keys=["y1", "y2"],
title="Multiline",
xname="steps"
)})
It gives me the following pic after choosing Edit panel
Unlike the first picture:
- It doesn’t have
Data
,Group
etc tabs. - There are two types of legend
name
andlineKey
rather than one type.
My question is how to plot exactly the same as the first picture with same function supported in wandb web?