reflexive 1.2.7__tar.gz → 1.2.8__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.
- {reflexive-1.2.7 → reflexive-1.2.8}/PKG-INFO +1 -1
- {reflexive-1.2.7 → reflexive-1.2.8}/pyproject.toml +1 -1
- {reflexive-1.2.7 → reflexive-1.2.8}/src/reflexive/res.py +2 -2
- {reflexive-1.2.7 → reflexive-1.2.8}/.gitignore +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/LICENSE +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/README.md +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/old reflexive dist/reflexive-1.0.13-py3-none-any.whl +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/old reflexive dist/reflexive-1.0.13.tar.gz +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/old reflexive dist/reflexive-1.0.14-py3-none-any.whl +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/old reflexive dist/reflexive-1.0.14.tar.gz +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/old reflexive dist/reflexive-1.0.15-py3-none-any.whl +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/old reflexive dist/reflexive-1.0.15.tar.gz +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/old reflexive dist/reflexive-1.0.16-py3-none-any.whl +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/old reflexive dist/reflexive-1.0.16.tar.gz +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/old reflexive dist/reflexive-1.0.17-py3-none-any.whl +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/old reflexive dist/reflexive-1.0.17.tar.gz +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/old reflexive dist/reflexive-1.0.18-py3-none-any.whl +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/old reflexive dist/reflexive-1.0.18.tar.gz +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/old reflexive dist/reflexive-1.0.19-py3-none-any.whl +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/old reflexive dist/reflexive-1.0.19.tar.gz +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/old reflexive dist/reflexive-1.0.20-py3-none-any.whl +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/old reflexive dist/reflexive-1.0.20.tar.gz +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/old reflexive dist/reflexive-1.1.0-py3-none-any.whl +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/old reflexive dist/reflexive-1.1.0.tar.gz +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/old reflexive dist/reflexive-1.1.1-py3-none-any.whl +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/old reflexive dist/reflexive-1.1.1.tar.gz +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/src/reflexive/__init__.py +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/src/reflexive/analyse.py +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/src/reflexive/cfg.py +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/src/reflexive/res_functions.py +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/src/reflexive/session.py +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/src/reflexive/util.py +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/src/reflexive/visualise.py +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/tests/__init__.py +0 -0
- {reflexive-1.2.7 → reflexive-1.2.8}/tests/test_reflexive.py +0 -0
|
@@ -125,7 +125,7 @@ class Res_display:
|
|
|
125
125
|
df = self._add_res_adj_matrix(df)
|
|
126
126
|
return df
|
|
127
127
|
|
|
128
|
-
def show_graph(self,df:DataFrame,scale=
|
|
128
|
+
def show_graph(self,df:DataFrame,scale=10,inline=True) -> str:
|
|
129
129
|
for am in df.res_adj_matrix:
|
|
130
130
|
if scale > 1:
|
|
131
131
|
sm = self._scale_adj_matrix(am,scale)
|
|
@@ -203,7 +203,7 @@ class Res_display:
|
|
|
203
203
|
max_count = max(interactions.values())
|
|
204
204
|
weights = dict()
|
|
205
205
|
for edge,count in interactions.items():
|
|
206
|
-
weights[edge] = round(count/(
|
|
206
|
+
weights[edge] = round(count/(max_count),2)
|
|
207
207
|
return weights
|
|
208
208
|
|
|
209
209
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|