Logging Histograms
To log a histogram, instantiate thepluto.Histogram class and pass it to pluto.log:
| Parameter | Type | Description |
|---|---|---|
data | Union[list, np.ndarray, torch.Tensor] | The values to build the histogram from. |
bins | int | Number of bins for the histogram. Defaults to 64. |
Viewing Histograms in the Dashboard
Histograms appear as cards in the dashboard alongside your other metrics. Each histogram widget displays the distribution at a given training step.
Step Navigation
Use the step navigator at the bottom of the histogram card to scrub through training steps and see how distributions evolve over time. You can:- Click the forward/back arrows to step through one at a time
- Type a specific step number into the input field
- See the current step and total steps (e.g., “Step 5/25”)
Axis Controls
Right-click on a histogram chart or use the chart menu to adjust axis bounds:- X Min / X Max — Control the horizontal range to zoom into a specific region of the distribution
- Y Max — Set the maximum y-axis value to normalize the view across steps