Skip to content

Commit

Permalink
improve visulization
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuwq0 committed May 8, 2024
1 parent b158e05 commit 13e4529
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eqnet/utils/visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,9 +468,9 @@ def plot_phasenet_plus(

for ii, event in enumerate(event_detects[i]):
ot = pd.to_datetime(event["event_time"])
axes[k + 2].plot([ot, ot], [-0.05, 1.05], "--C3", linewidth=2.0)
axes[k + 2].plot([ot, ot], [-0.05, 1.05], "--r", linewidth=2.0)
at = pd.to_datetime(event["center_time"])
axes[k + 2].plot([at, at], [-0.05, 1.05], "--C0", linewidth=2.0)
axes[k + 2].plot([at, at], [-0.05, 1.05], "--b", linewidth=1.0)
axes[k + 2].annotate(
"",
xy=(max(t[0], at), 0.3),
Expand Down

0 comments on commit 13e4529

Please sign in to comment.