vis: don't call add_subplot

This commit is contained in:
Starbeamrainbowlabs 2022-09-20 19:06:21 +01:00
parent 32bb55652b
commit 5252a81238
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -27,7 +27,6 @@ def vis_embeddings(filepath_output, features):
plt.title(f"UMAP Dimensionality Reduction", fontsize=20)
# 2: Parallel coordinates
figure.add_subplot(1, 2, 2)
dataframe = pandas.DataFrame(features)
dataframe["Label"] = [1] * len(features)
# dataframe["Label"] = range(len(features)) # used when we actually have labels. In this case we don't though