We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aad97bc commit e8683f9Copy full SHA for e8683f9
examples/decoding/sampling.py
@@ -42,7 +42,7 @@ def plot(frames: torch.Tensor, title: str | None = None):
42
print("Cannot plot, please run `pip install torchvision matplotlib`")
43
return
44
45
- plt.rcParams['savefig.bbox'] = 'tight'
+ plt.rcParams["savefig.bbox"] = 'tight'
46
fig, ax = plt.subplots()
47
ax.imshow(to_pil_image(make_grid(frames)))
48
ax.set(xticklabels=[], yticklabels=[], xticks=[], yticks=[])
0 commit comments