Spaces:
Running
Running
Update functions/PitchPlotFunctions.py
Browse files
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,
|
| 166 |
ax.set_ylim(0, 1)
|
| 167 |
-
ax.imshow(img, extent=[
|
| 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,
|
| 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
|