Updated requirements with Seaborn.

This commit is contained in:
Hans Henseler
2023-05-16 20:27:22 +02:00
parent 79eac02dbf
commit 66c3533ce9
4 changed files with 7 additions and 1 deletions
+4 -1
View File
@@ -39,7 +39,8 @@ context = connect_project(endpoint='http://localhost:9091/gatekeeper/',
start = '2022-7-1T00:00Z'
end = '2022-7-31T23:59Z'
search_query = "type:chatMessage"
#search_query = "type:chatMessage"
search_query = "type:browserHistory"
# Group the number of searches by the accessedOn property on a scale of a day. A Facet on a date requires a min and max
facet = RangeFacet('dates', scale='hour', min=start, max=end)
@@ -60,3 +61,5 @@ df_map = pd.pivot_table( df, fill_value=0.0, columns=df.index.date, index=df.ind
sns.heatmap(df_map, cmap="Greens",norm=LogNorm())
# %%
+1
View File
@@ -47,6 +47,7 @@ python-dateutil==2.8.2
pytz==2022.7.1
pyzmq==25.0.1
requests==2.28.2
seaborn=0.12.2
six==1.16.0
squarify==0.4.3
stack-data==0.6.2
+1
View File
@@ -48,6 +48,7 @@ pytz==2022.7.1
# pywin32==305
pyzmq==25.0.1
requests==2.28.2
seaborn=0.12.2
six==1.16.0
squarify==0.4.3
stack-data==0.6.2
+1
View File
@@ -48,6 +48,7 @@ pytz==2022.7.1
pywin32==305
pyzmq==25.0.1
requests==2.28.2
seaborn=0.12.2
six==1.16.0
squarify==0.4.3
stack-data==0.6.2