rigraph icon indicating copy to clipboard operation
rigraph copied to clipboard

label.cex unrecognized in plot.communities

Open ntamas opened this issue 7 years ago • 1 comments

From @brooksambrose on May 21, 2015 22:9

I don't think any of the igraph.plotting params are working in the plot.communities method, e.g. label.cex:

> plot(edge.betweenness.community(g),g,label.cex=.5)
Error in i.parse.plot.params(graph, list(...)) : 
  Unknown plot parameters: label.cex

Or I'm not getting the syntax right!

Copied from original issue: igraph/igraph#828

ntamas avatar Jul 09 '18 07:07 ntamas

From @brooksambrose on May 24, 2015 22:46

Ok, just a documentation issue, the argument is actually vertex.label.cex not label.cex. From the igraph.plotting help page:

Vertex parameters first, note that the ‘vertex.’ prefix needs to be added if they are used as an argument or when setting via igraph.options.

As a style comment, especially if users are skimming these quickly, it might be best to include the full name of the arguments instead of noting a necessary prefix (as if we'll read the entire article each time).

ntamas avatar Jul 09 '18 07:07 ntamas