sgoldenlab / simba

SimBA (Simple Behavioral Analysis), a pipeline and GUI for developing supervised behavioral classifiers
https://simba-uw-tf-dev.readthedocs.io/
GNU General Public License v3.0
286 stars 139 forks source link

Visual Indication of Click Location On Plot Not Appearing #142

Open NickBardjis opened 2 years ago

NickBardjis commented 2 years ago

When running the validation step for a generated model, after clicking "generate plot", if you close the plot and video by clicking the X in the corner and then reopen it by clicking "generate plot" again, the red line that indicates where in the graph you have clicked no longer appears. The program still works normally otherwise, changing the frame when you double click on the graph, but the visual indication of where you clicked is gone. The problem seems to persist until you close and relaunch SimBA.

To recreate:

  1. Load Project
  2. Go to the [Run Machine Model] tab
  3. Under "Validate Model on a Single Video", load the desired feature .csv and the .sav model and click "Run Model"
  4. Once the model is done running, click "Generate Plot"
  5. Close the plot and video windows
  6. Click "Generate Plot" again

I am using Windows 10, Python 3.8.5, and I am using Anaconda.