Skip to content

Matplotlib plotting and clustering color bugfix#410

Merged
ntamas merged 1 commit intoigraph:masterfrom
iosonofabio:mpl_vertex_color
Jun 2, 2021
Merged

Matplotlib plotting and clustering color bugfix#410
ntamas merged 1 commit intoigraph:masterfrom
iosonofabio:mpl_vertex_color

Conversation

@iosonofabio
Copy link
Copy Markdown
Member

Tries to address #409

The user's requested code now works on my machine in both cases, and the logic of the code is slightly improved and better documented in the code.

At some point we should consider adding some infrastructure to MatplotlibGraphDrawer to avoid having a lot of logic in a single giant function.

@ntamas ntamas merged commit 883a05e into igraph:master Jun 2, 2021
@ntamas
Copy link
Copy Markdown
Member

ntamas commented Jun 2, 2021

At some point we should consider adding some infrastructure to MatplotlibGraphDrawer to avoid having a lot of logic in a single giant function.

Agreed! The same applies to the default graph drawer as well, and maybe there's the possibility of re-using some code between the two, so I'll look into this at some point in the future.

@ntamas
Copy link
Copy Markdown
Member

ntamas commented Jun 2, 2021

Also, thanks a lot for the quick PR!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants