Skip to content

Commit f9c3294

Browse files
committed
Fix dependencies
Signed-off-by: Beat Buesser <[email protected]>
1 parent 1d3ecc9 commit f9c3294

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

art/evaluations/security_curve/security_curve.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,12 @@ def plot(self) -> None: # pragma: no cover
165165
from matplotlib import pyplot as plt
166166

167167
plt.plot(self.eps_list, self.accuracy_adv_list, label="adversarial", marker="o")
168-
plt.plot([self.eps_list[0], self.eps_list[-1]], [self.accuracy, self.accuracy], linestyle="--", label="benign") # type: ignore
168+
plt.plot(
169+
[self.eps_list[0], self.eps_list[-1]], # type: ignore
170+
[self.accuracy, self.accuracy], # type: ignore
171+
linestyle="--",
172+
label="benign",
173+
)
169174
plt.legend()
170175
plt.xlabel("Attack budget eps")
171176
plt.ylabel("Accuracy")

0 commit comments

Comments
 (0)