MCPcopy Create free account
hub / github.com/FreedomGu/Diffportrait360 / plot_x_y

Function plot_x_y

diffportrait360_release/code/utils/utils.py:16–22  ·  view source on GitHub ↗
(x, y, x_label, y_label, save_path, **kwargs)

Source from the content-addressed store, hash-verified

14 return merged_list
15
16def plot_x_y(x, y, x_label, y_label, save_path, **kwargs):
17
18 plt.plot( x , y, **kwargs)
19 plt.xlabel(x_label)
20 plt.ylabel(y_label)
21 plt.legend()
22 plt.savefig(save_path)
23
24
25def set_seed(seed):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected