Skip to content

Commit

Permalink
📝
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgfierro committed Jul 9, 2020
1 parent c391628 commit e855674
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/unit/test_plot.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.

import pytest
import matplotlib.pyplot as plt
from reco_utils.common.plot import line_graph

Expand All @@ -16,9 +20,7 @@ def test_line_graph():
plt.close()

# Single graph as a subplot
line_graph(
values=[1, 2, 3], labels="Train", subplot=(1, 1, 1),
)
line_graph(values=[1, 2, 3], labels="Train", subplot=(1, 1, 1))
plt.close()

# Single graph with x values
Expand All @@ -29,3 +31,4 @@ def test_line_graph():
y_min_max=(0, 5),
plot_size=(5, 5),
)
plt.close()

0 comments on commit e855674

Please sign in to comment.