Closed abelstam12 closed 1 year ago
Btw, using the plot_graph without arguments seems to work, so the thresh is actually breaking my example. Ill dive into the documentation to find out why,
Thanks
Hi, sorry for the late response! Can you try to plot the graph without specifying the thresh argument and then adjust the threshold in the js interface using sliding bars on the right? Does it working for you without traceback? We'll try to investigate why passing thresh could crash the plot_graph function.
@tokedo Worked without threshold. I think there were no edges in my example crossing the threshold, resulting in no input. Maybe this can help identify the issue.
Thanks Abel
The commentary answered the original question.
Hi im having trouble applying the basic plot_graph example to my own dataset. I can reproduce the step matric example, but when trying to display the plot_graph, im getting the following exception
`
KeyError Traceback (most recent call last) /opt/conda/lib/python3.7/site-packages/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance) 2894 try: -> 2895 return self._engine.get_loc(casted_key) 2896 except KeyError as err:
pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc()
pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc()
pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item()
pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item()
KeyError: 'type'
The above exception was the direct cause of the following exception:
KeyError Traceback (most recent call last) /opt/conda/lib/python3.7/site-packages/pandas/core/generic.py in _set_item(self, key, value) 3573 try: -> 3574 loc = self._info_axis.get_loc(key) 3575 except KeyError:
/opt/conda/lib/python3.7/site-packages/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance) 2896 except KeyError as err: -> 2897 raise KeyError(key) from err 2898
KeyError: 'type'
During handling of the above exception, another exception occurred:
ValueError Traceback (most recent call last)