diff --git a/comparizon/mtest_dates_simpleplots.py b/comparizon/mtest_dates_simpleplots.py index 6018c4f..9398486 100644 --- a/comparizon/mtest_dates_simpleplots.py +++ b/comparizon/mtest_dates_simpleplots.py @@ -27,10 +27,12 @@ def get_random_values(x, y): fig = Figure() xvalues, yvalues = get_random_values(1, 10000) - fig.plot(xvalues, yvalues, color='red', linewidth=5) + fig.plot(xvalues, yvalues, color='red', linewidth=5, label='line1') xvalues, yvalues = get_random_values(1, 10000) - fig.plot(xvalues, yvalues, color='blue', linewidth=5) + fig.plot(xvalues, yvalues, color='blue', linewidth=5, label='line1') + + fig.legend() fig.save(f'{test_folder}/graph{i}.png')