Skip to content

Commit

Permalink
Fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
J535D165 committed Feb 12, 2021
1 parent e098ec8 commit a545582
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion asreviewcontrib/visualization/plot_inclusions.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,5 +186,5 @@ def add_random(self, line_col='grey', add_text=True, text_at=None):
n_initial = analysis.inc_found[False]["n_initial"]
max_y = analysis.inc_found[False]["inc_after_init"]
label_after_init = n_labels - n_initial
y_vals = max_y * np.array(xlim)/label_after_init
y_vals = max_y * np.array(xlim) / label_after_init
self.ax.plot(xlim, y_vals, color=line_col, ls="--")
2 changes: 1 addition & 1 deletion tests/test_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def test_plots(request, plot_type, numbers):
pass
args = [*[str(x) for x in combi], "-o", str(picture_fp)]
if numbers:
args += ["--absolute-values"]
args += ["--show-absolute-values"]
entry = PlotEntryPoint()
entry.execute(args)
assert os.path.isfile(picture_fp)
Expand Down

0 comments on commit a545582

Please sign in to comment.