Closed hsauro closed 2 years ago
PS It seems to work ok on my desktop jupyter notebook so must be a colab issue.
Hi Herbert, thank you for using pyvipr. Recently colab has enable the use of external widgets. I made a quick release and now pyvipr works in colab. Here is an example of an static and dynamic visualization:
https://colab.research.google.com/drive/12ossgjj-mnrPv7XXXBwajf85kPyFb_CQ?usp=sharing
Great, thanks. We might use it in a class later this year where we use colab.
H
I was trying to use vipr fro colab (https://colab.research.google.com/) but I am stuck at:
import pyvipr.tellurium_viz as tviz tviz.sp_view(r)
I tried to install community but it say that is already there.
/usr/local/lib/python3.7/dist-packages/pyvipr/util.py in()
4 import networkx as nx
5 import networkx.algorithms.community as nx_community
----> 6 from community import best_partition, generate_dendrogram
7
8
ImportError: cannot import name 'best_partition' from 'community' (/usr/local/lib/python3.7/dist-packages/community/init.py)