nesticot commited on
Commit
d6aba05
·
verified ·
1 Parent(s): b53f260

Update functions/PitchPlotFunctions.py

Browse files
Files changed (1) hide show
  1. functions/PitchPlotFunctions.py +4 -3
functions/PitchPlotFunctions.py CHANGED
@@ -374,15 +374,16 @@ class PitchPlotFunctions:
374
  # ax.set_xlim((-25, 25))
375
  # ax.set_ylim((-25, 25))
376
 
 
 
 
377
  # Add these lines to ensure proper clipping
378
  ax.set_clip_on(True)
379
  ax.patch.set_clip_on(True)
380
 
381
  # Ensure all plot elements are clipped
382
  for child in ax.get_children():
383
- child.set_clip_on(True)
384
- # Set aspect ratio and format tick labels
385
- ax.set_aspect('equal', adjustable='box')
386
  ax.xaxis.set_major_formatter(FuncFormatter(lambda x, _: int(x)))
387
  ax.yaxis.set_major_formatter(FuncFormatter(lambda x, _: int(x)))
388
 
 
374
  # ax.set_xlim((-25, 25))
375
  # ax.set_ylim((-25, 25))
376
 
377
+
378
+ # Set aspect ratio and format tick labels
379
+ ax.set_aspect('equal', adjustable='box')
380
  # Add these lines to ensure proper clipping
381
  ax.set_clip_on(True)
382
  ax.patch.set_clip_on(True)
383
 
384
  # Ensure all plot elements are clipped
385
  for child in ax.get_children():
386
+ child.set_clip_on(True)
 
 
387
  ax.xaxis.set_major_formatter(FuncFormatter(lambda x, _: int(x)))
388
  ax.yaxis.set_major_formatter(FuncFormatter(lambda x, _: int(x)))
389