labeling-window.component.html 758 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
<div *ngIf="windowSimilarity" style="display: flex;">
  <div class="subplot" *ngFor="let subplot of subplots">
    <plotly-plot [data]="subplot.data" [layout]="subplot.layout"></plotly-plot>
    <div class="button-holder">
      <button class="correct-button" [class.correct-selected]="labels[subplot.index]" (click)="labelCorrect(subplot.index)">Correct</button>
      <button class="neutral-button" [class.neutral-selected]="labels[subplot.index] == undefined" (click)="labelUndefined(subplot.index)">Neutral</button>
      <button class="incorrect-button" [class.incorrect-selected]="labels[subplot.index] == false" (click)="labelIncorrect(subplot.index)">Incorrect</button>
    </div>
  </div>
</div>
<button (click)="changeTables()">Label data</button>