Questions tagged [pymnet]

Question related to the python library called: pymnet which is a free library for analysing multilayer networks.

The library is based on the general definition of multilayer networks presented in:

https://arxiv.org/abs/1309.7233

5 questions
7
votes
1 answer

Modifying a multilayer network plot in pymnet

I want to visualise a multilayer network using pymnet. The example in the package's documentation shows how to plot a multilayer network (left-hand side of the plot below) but I would like to add another layer (orange) that would be displayed at a…
epo3
  • 2,991
  • 2
  • 33
  • 60
0
votes
1 answer

How can I import pymnet library?

I am new to python. I am trying to use 'pymnet' library for multilayer network analysis. Somehow I could work with this library, but later, when I try to import the library I fount the following error. ImportError …
0
votes
1 answer

How to change color of nodes in a network?

I would like to change the color of nodes within the column A: A B Score Value 0 user1 test1 6.6 A 1 user1 user241 3.2 …
Math
  • 191
  • 2
  • 5
  • 19
0
votes
1 answer

For loop (nested): how to iterate through two columns?

I'd need to iterate a process across values in two different columns: A B Score Value 0 user1 test1 6.6 A 1 user1 test2 …
Math
  • 191
  • 2
  • 5
  • 19
0
votes
1 answer

ModuleNotFoundError in Python - Colab

I am trying to implement a simple multi-layer network in colab using python. To do so, I ran the following code. Code from pymnet import * mnet = MultilayerNetwork(aspects=1) mnet.add_node(1) mnet.add_layer('a') mnet[1,'a'].deg() However, I keep…
Nayantara Jeyaraj
  • 2,624
  • 7
  • 34
  • 63