mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-25 18:33:01 +00:00
vis: don't call add_subplot
This commit is contained in:
parent
32bb55652b
commit
5252a81238
1 changed files with 0 additions and 1 deletions
|
@ -27,7 +27,6 @@ def vis_embeddings(filepath_output, features):
|
||||||
plt.title(f"UMAP Dimensionality Reduction", fontsize=20)
|
plt.title(f"UMAP Dimensionality Reduction", fontsize=20)
|
||||||
|
|
||||||
# 2: Parallel coordinates
|
# 2: Parallel coordinates
|
||||||
figure.add_subplot(1, 2, 2)
|
|
||||||
dataframe = pandas.DataFrame(features)
|
dataframe = pandas.DataFrame(features)
|
||||||
dataframe["Label"] = [1] * len(features)
|
dataframe["Label"] = [1] * len(features)
|
||||||
# dataframe["Label"] = range(len(features)) # used when we actually have labels. In this case we don't though
|
# dataframe["Label"] = range(len(features)) # used when we actually have labels. In this case we don't though
|
||||||
|
|
Loading…
Reference in a new issue