mirror of
https://github.com/NetherlandsForensicInstitute/hansken-python-workshop.git
synced 2026-02-14 13:39:50 +00:00
Removed IP addresses for AWS vm's
This commit is contained in:
@@ -9,7 +9,7 @@ from hansken.connect import connect_project
|
||||
|
||||
# setup hansken connection
|
||||
in_browser = 'js' in sys.modules
|
||||
hansken_host = '3.127.23.159'
|
||||
hansken_host = ''
|
||||
context = connect_project(endpoint=f'http://{hansken_host}:9091/gatekeeper/',
|
||||
project='5ee273fd-0978-4a0a-b8b0-2af2f8479214',
|
||||
keystore=f'http://{hansken_host}:9091/keystore/',
|
||||
|
||||
@@ -16,7 +16,7 @@ from hansken.query import RangeFacet
|
||||
|
||||
# The line below finds out if we run in the browser by checking for the js module
|
||||
in_browser = 'js' in sys.modules
|
||||
hansken_host = '3.127.23.159'
|
||||
hansken_host = ''
|
||||
context = connect_project(endpoint=f'http://{hansken_host}:9091/gatekeeper/',
|
||||
project='5ee273fd-0978-4a0a-b8b0-2af2f8479214',
|
||||
keystore=f'http://{hansken_host}:9091/keystore/',
|
||||
|
||||
@@ -18,7 +18,7 @@ from hansken.query import RangeFacet
|
||||
|
||||
# The line below finds out if we run in the browser by checking for the js module
|
||||
in_browser = 'js' in sys.modules
|
||||
hansken_host = '3.127.23.159'
|
||||
hansken_host = ''
|
||||
context = connect_project(endpoint=f'http://{hansken_host}:9091/gatekeeper/',
|
||||
project='5ee273fd-0978-4a0a-b8b0-2af2f8479214',
|
||||
keystore=f'http://{hansken_host}:9091/keystore/',
|
||||
|
||||
@@ -12,7 +12,7 @@ from hansken.query import TermFacet
|
||||
|
||||
# The line below finds out if we run in the browser by checking for the js module
|
||||
in_browser = 'js' in sys.modules
|
||||
hansken_host = '3.127.23.159'
|
||||
hansken_host = ''
|
||||
context = connect_project(endpoint=f'http://{hansken_host}:9091/gatekeeper/',
|
||||
project='5ee273fd-0978-4a0a-b8b0-2af2f8479214',
|
||||
keystore=f'http://{hansken_host}:9091/keystore/',
|
||||
|
||||
@@ -11,7 +11,7 @@ from hansken.connect import connect_project
|
||||
|
||||
# The line below finds out if we run in the browser by checking for the js module
|
||||
in_browser = 'js' in sys.modules
|
||||
hansken_host = '3.127.23.159'
|
||||
hansken_host = ''
|
||||
context = connect_project(endpoint=f'http://{hansken_host}:9091/gatekeeper/',
|
||||
project='5ee273fd-0978-4a0a-b8b0-2af2f8479214',
|
||||
keystore=f'http://{hansken_host}:9091/keystore/',
|
||||
@@ -47,3 +47,5 @@ ax = fig.add_subplot(111)
|
||||
squarify.plot(sizes=sizes, label=labels, alpha=.6, ax=ax)
|
||||
plt.axis('off')
|
||||
plt.show()
|
||||
|
||||
# %%
|
||||
|
||||
Reference in New Issue
Block a user