Skip to content

Commit

Permalink
Update Multiple_ROI_Analysis_Using_DeepLabCut_CSV_Files.ipynb
Browse files Browse the repository at this point in the history
data was becoming inverted when displaying in the Matlibplot graph.
  • Loading branch information
farhanaugustine authored May 14, 2024
1 parent 5051616 commit 6af9f68
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Multiple_ROI_Analysis_Using_DeepLabCut_CSV_Files.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1172,6 +1172,9 @@
"ax.set_xlim([min(Head_x), max(Head_x)])\n",
"ax.set_ylim([min(Head_y), max(Head_y)])\n",
"\n",
"# Invert the y-axis\n",
"ax.invert_yaxis()\n",
"\n",
"# Set useblit=True on most backends for enhanced performance\n",
"toggle_selector = RectangleSelector(ax, onselect, useblit=True,\n",
" button=[1], # Left mouse button\n",
Expand Down

0 comments on commit 6af9f68

Please sign in to comment.