The pyvistool library is a Python package to create various visualizations offered by the VisTool of the Complexity Science Hub Vienna directly from your Python script.
To get a local copy up and running follow these simple steps.
- Clone the repository
git clone https://github.com/complexity-science-hub/pyvistool
- Change to the repository directory
cd pyvistool - Build the package
python setup.py build
- Install the package
python setup.py install
To use the package, import it to your python script.
from pyvistool import VistoolYou can find a list of available visualization and information about how to configure them here:
Create a configuration for the visualization you want to use:
config = {
"datasets": {
"nameOfDataset": {
"options": {
...
},
"data": {
...
}
}
},
"settings": {
...
}
}
Create and show the visualization (replace the appId):
vt = Vistool(appId, config)
vt.show()
Johannes Sorger - [email protected]
Wolfgang Knecht - [email protected]
Project Link: https://github.com/complexity-science-hub/pyvistool