Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust legend of plot_rich_club #139

Open
KirstieJane opened this issue Jul 15, 2019 · 3 comments
Open

Adjust legend of plot_rich_club #139

KirstieJane opened this issue Jul 15, 2019 · 3 comments
Assignees

Comments

@KirstieJane
Copy link
Member

The legend of the plot_network_measures function shows "Real Network" and "Random Network".

I think they make sense (although I'd probably not capitalise the "N") and so it would be great if the rich club plot could also have the same labels, and in the same order.

So switch the order and change text to "Real network" and "Random network" instead of "rich club coefficient" and "random rich club coefficient".

image

@wingedRuslan
Copy link
Collaborator

@KirstieJane, Sure, no problem. If I change the order in plotting_rich_club the grey line (random values) will be "on top" of the blue line (real values). This especially is notable at the start of lines (0 to 30 degree), when values are pretty much the same. Right now the blue "on top" cause we draw real network after random network, and that's why the order of legend is 1) random 2)real.

Is that fine?

@wingedRuslan wingedRuslan self-assigned this Jul 15, 2019
@KirstieJane
Copy link
Member Author

Heya - no - it isn't ok to put the blue line behind - the real data needs to stay on top. But check out this zorder demo to let you change the order of the plots 😸 🚀 https://matplotlib.org/gallery/misc/zorder_demo.html#sphx-glr-gallery-misc-zorder-demo-py

@wingedRuslan
Copy link
Collaborator

Addressed in #121

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants