summaryrefslogtreecommitdiff
path: root/examples/backends/plot_unmix_optim_torch.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/backends/plot_unmix_optim_torch.py')
-rw-r--r--examples/backends/plot_unmix_optim_torch.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/backends/plot_unmix_optim_torch.py b/examples/backends/plot_unmix_optim_torch.py
index 9ae66e9..e47a5e0 100644
--- a/examples/backends/plot_unmix_optim_torch.py
+++ b/examples/backends/plot_unmix_optim_torch.py
@@ -135,7 +135,7 @@ for i in range(niter):
##############################################################################
# Estimated weights and convergence of the objective
-# ---------------------------------------------------
+# --------------------------------------------------
we = w.detach().numpy()
print('Estimated mixture:', we)
@@ -147,8 +147,8 @@ pl.title('Wasserstein distance')
pl.xlabel("Iterations")
##############################################################################
-# Ploting the reweighted source distribution
-# ------------------------------------------
+# Plotting the reweighted source distribution
+# -------------------------------------------
pl.figure(3)