updating kde labels in plots

This commit is contained in:
Alejandro Moreo Fernandez 2024-05-20 12:13:00 +02:00
parent 517686eea1
commit 1a1bccdd23
2 changed files with 2 additions and 0 deletions

View File

@ -89,6 +89,7 @@ for class_name in CLASS_NAMES:
stds = np.asarray(stds)
method_name = method_name.replace('NaiveQuery', 'Naive@$k$')
method_name = method_name.replace('KDEy-ML', 'KDEy')
marker = next(markers)
line = ax.plot(Ks, means, 'o-', label=method_name, color=None, linewidth=3, markersize=10, marker=marker)
color = line[-1].get_color()

View File

@ -54,6 +54,7 @@ for class_name in CLASS_NAMES:
style = 'o-' if method_name != 'CC' else '--'
method_name = method_name.replace('NaiveQuery', 'Naive@$k$')
method_name = method_name.replace('KDEy-ML', 'KDEy')
marker=next(markers)
line = ax.plot(X_DATA_SIZES, means, style, label=method_name, color=None, linewidth=3, markersize=10, marker=marker)
color = line[-1].get_color()