rustat-python-api 0.7.9__tar.gz → 0.7.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rustat-python-api-0.7.9/rustat_python_api.egg-info → rustat-python-api-0.7.10}/PKG-INFO +1 -1
- {rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/rustat_python_api/pitch_control.py +18 -12
- {rustat-python-api-0.7.9 → rustat-python-api-0.7.10/rustat_python_api.egg-info}/PKG-INFO +1 -1
- {rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/setup.py +1 -1
- {rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/LICENSE +0 -0
- {rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/README.md +0 -0
- {rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/pyproject.toml +0 -0
- {rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/rustat_python_api/__init__.py +0 -0
- {rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/rustat_python_api/config.py +0 -0
- {rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/rustat_python_api/kernels/__init__.py +0 -0
- {rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/rustat_python_api/kernels/maha.py +0 -0
- {rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/rustat_python_api/matching/__init__.py +0 -0
- {rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/rustat_python_api/matching/dataloader.py +0 -0
- {rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/rustat_python_api/matching/pc_adder.py +0 -0
- {rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/rustat_python_api/matching/tr_adder.py +0 -0
- {rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/rustat_python_api/models_api.py +0 -0
- {rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/rustat_python_api/parser.py +0 -0
- {rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/rustat_python_api/processing.py +0 -0
- {rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/rustat_python_api/urls.py +0 -0
- {rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/rustat_python_api.egg-info/SOURCES.txt +0 -0
- {rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/rustat_python_api.egg-info/dependency_links.txt +0 -0
- {rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/rustat_python_api.egg-info/requires.txt +0 -0
- {rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/rustat_python_api.egg-info/top_level.txt +0 -0
- {rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/setup.cfg +0 -0
|
@@ -734,21 +734,27 @@ class PitchControl:
|
|
|
734
734
|
|
|
735
735
|
for k in self.locs_home[half].keys():
|
|
736
736
|
# if len(self.locs_home[half][k]) >= tp:
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
737
|
+
try:
|
|
738
|
+
if np.isfinite(self.locs_home[half][k][tp, :]).all():
|
|
739
|
+
plt.scatter(
|
|
740
|
+
self.locs_home[half][k][tp, 0],
|
|
741
|
+
self.locs_home[half][k][tp, 1],
|
|
742
|
+
color="darkgrey",
|
|
743
|
+
)
|
|
744
|
+
except Exception as e:
|
|
745
|
+
print(f"No data for player {k}: {e}")
|
|
743
746
|
|
|
744
747
|
for k in self.locs_away[half].keys():
|
|
745
748
|
# if len(self.locs_away[half][k]) >= tp:
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
749
|
+
try:
|
|
750
|
+
if np.isfinite(self.locs_away[half][k][tp, :]).all():
|
|
751
|
+
plt.scatter(
|
|
752
|
+
self.locs_away[half][k][tp, 0],
|
|
753
|
+
self.locs_away[half][k][tp, 1],
|
|
754
|
+
color="black",
|
|
755
|
+
)
|
|
756
|
+
except Exception as e:
|
|
757
|
+
print(f"No data for player {k}: {e}")
|
|
752
758
|
|
|
753
759
|
plt.scatter(
|
|
754
760
|
self.locs_ball[half][tp, 0], self.locs_ball[half][tp, 1], color="red"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/rustat_python_api/matching/dataloader.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/rustat_python_api.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/rustat_python_api.egg-info/requires.txt
RENAMED
|
File without changes
|
{rustat-python-api-0.7.9 → rustat-python-api-0.7.10}/rustat_python_api.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|