Skip to content

Commit

Permalink
- root reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
liurui39660 committed Apr 3, 2020
1 parent 01457e8 commit 41d5c36
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions util/PlotAnomalousEvent.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
from pathlib import Path
from sys import argv

from matplotlib.pyplot import plot, show, axvspan
from numpy import log10, loadtxt

root = (Path(__file__) / '../..').resolve()
from matplotlib.pyplot import axvspan, plot, show
from numpy import loadtxt, log10

if len(argv) < 2:
print('Plot line chart for timestamps vs anomaly scores, with optional vertical lines for important events')
Expand Down

0 comments on commit 41d5c36

Please sign in to comment.