nesticot commited on
Commit
c659160
·
verified ·
1 Parent(s): 501290f

Update functions/PitchPlotFunctions.py

Browse files
Files changed (1) hide show
  1. functions/PitchPlotFunctions.py +3 -3
functions/PitchPlotFunctions.py CHANGED
@@ -162,9 +162,9 @@ class PitchPlotFunctions:
162
  # Open the image from the response content
163
  img = Image.open(BytesIO(response.content))
164
  # Display the image on the axis
165
- ax.set_xlim(0, 2)
166
  ax.set_ylim(0, 1)
167
- ax.imshow(img, extent=[1, 2, 0, 1], origin='upper')
168
  # Turn off the axis
169
  ax.axis('off')
170
 
@@ -237,7 +237,7 @@ class PitchPlotFunctions:
237
  # Open the image from the response content
238
  img = Image.open(BytesIO(response.content))
239
  # Display the image on the axis
240
- ax.set_xlim(0, 2)
241
  ax.set_ylim(0, 1)
242
  ax.imshow(img, extent=[0, 1, 0, 1], origin='upper')
243
  # Turn off the axis
 
162
  # Open the image from the response content
163
  img = Image.open(BytesIO(response.content))
164
  # Display the image on the axis
165
+ ax.set_xlim(0, 1)
166
  ax.set_ylim(0, 1)
167
+ ax.imshow(img, extent=[0, 1, 0, 1], origin='upper')
168
  # Turn off the axis
169
  ax.axis('off')
170
 
 
237
  # Open the image from the response content
238
  img = Image.open(BytesIO(response.content))
239
  # Display the image on the axis
240
+ ax.set_xlim(0, 1)
241
  ax.set_ylim(0, 1)
242
  ax.imshow(img, extent=[0, 1, 0, 1], origin='upper')
243
  # Turn off the axis