projects
/
pytorch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc937c7
)
Update.
author
Francois Fleuret
<francois@fleuret.org>
Thu, 11 Aug 2022 20:52:34 +0000
(22:52 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Thu, 11 Aug 2022 20:52:34 +0000
(22:52 +0200)
minidiffusion.py
patch
|
blob
|
history
diff --git
a/minidiffusion.py
b/minidiffusion.py
index
cbdb142
..
ad1cda0
100755
(executable)
--- a/
minidiffusion.py
+++ b/
minidiffusion.py
@@
-81,6
+81,8
@@
ax.hist(d, 25, (-1, 1), histtype = 'stepfilled', color = 'lightblue', density =
d = x.flatten().detach().numpy()
ax.hist(d, 25, (-1, 1), histtype = 'step', color = 'red', density = True, label = 'Synthesis')
+ax.legend(frameon = False, loc = 2)
+
filename = 'diffusion.pdf'
fig.savefig(filename, bbox_inches='tight')