added 1d scatter plot and test

This commit is contained in:
Maddie Cain committed 2019-04-08 04:03:15 -04:00
1 parent e76b18b38f
commit 168096abbe
2 files changed
+23 -6

No files matched your search

+6 -1
View File
@@ -9,7 +9,12 @@ import torch as t
import scipy.misc
import matplotlib.pyplot as plt
def test_plot_1d(show_plot):
# Plot simple linear scatter plot
arr = np.arange(10)
plotting.plot_1d(arr, title = 'Linear Plot')
if show_plot:
plt.show()
def test_plot_amplitude(show_plot):
# Test with tensor