Attempting to set font family to a graph in R causes plotting error
Bug #741041 reported by
Alastair Droop
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
igraph |
Fix Released
|
Medium
|
Gábor Csárdi |
Bug Description
I attempt to set the font family of graph vertices to "sans". This causes the plot function to fail:
> g <- watts.strogatz.
> V(g)$label.family <- "sans"
> plot(g)
Error in text.default(x, y, labels = labels, col = label.color, family = label.family, :
graphical parameter "family" has the wrong length
>
Related branches
Changed in igraph: | |
milestone: | none → 0.6 |
To post a comment you must log in.
Confirmed. As a workaround, you can specify the font family as an argument to plot().