wandb_figure
wandb_figure
¶
Helper for converting matplotlib figures into wandb images.
figure_to_wandb_image
¶
Convert matplotlib figure to WandB image.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
fig
|
Figure
|
Matplotlib figure |
required |
dpi
|
int
|
Resolution for the rasterized PNG buffer |
100
|
Returns:
| Type | Description |
|---|---|
Image
|
WandB image object |