{"action":"created","issue":{"url":"https://api.github.com/repos/igraph/igraph/issues/681","labels_url":"https://api.github.com/repos/igraph/igraph/issues/681/labels{/name}","comments_url":"https://api.github.com/repos/igraph/igraph/issues/681/comments","events_url":"https://api.github.com/repos/igraph/igraph/issues/681/events","html_url":"https://github.com/igraph/igraph/issues/681","id":43132779,"number":681,"title":"attempting to set font family on edge causes plotting error","user":{"login":"bergsmat","id":5950242,"avatar_url":"https://avatars.githubusercontent.com/u/5950242?v=3","gravatar_id":"","url":"https://api.github.com/users/bergsmat","html_url":"https://github.com/bergsmat","followers_url":"https://api.github.com/users/bergsmat/followers","following_url":"https://api.github.com/users/bergsmat/following{/other_user}","gists_url":"https://api.github.com/users/bergsmat/gists{/gist_id}","starred_url":"https://api.github.com/users/bergsmat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bergsmat/subscriptions","organizations_url":"https://api.github.com/users/bergsmat/orgs","repos_url":"https://api.github.com/users/bergsmat/repos","events_url":"https://api.github.com/users/bergsmat/events{/privacy}","received_events_url":"https://api.github.com/users/bergsmat/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-09-18T13:31:39Z","updated_at":"2015-01-14T21:05:06Z","closed_at":"2015-01-14T21:05:06Z","body":"For example (version 0.7.1) ...\r\n```r\r\nlibrary(igraph)\r\ng <- graph.empty() \r\ng <- add.vertices(g, nv = 3)\r\ng <- add.edges(\r\n  g, \r\n  c(1,2,2,3), \r\n  attr = list(\r\n    label=c('foo','bar'),\r\n    label.family=rep('mono',times = 2)\r\n  )\r\n)\r\nplot(g)\r\n```\r\n ... gives ...\r\n\r\n```r\r\nError in text.default(lc.x, lc.y, labels = edge.labels, col = edge.label.color,  : \r\n  graphical parameter \"family\" has the wrong length\r\n```\r\nLike issue #213, but for edges not vertices.  Same workaround applies.  Code above works for ```times = 0``` but not ```times = 1``` etc."},"comment":{"url":"https://api.github.com/repos/igraph/igraph/issues/comments/69991538","html_url":"https://github.com/igraph/igraph/issues/681#issuecomment-69991538","issue_url":"https://api.github.com/repos/igraph/igraph/issues/681","id":69991538,"user":{"login":"gaborcsardi","id":660288,"avatar_url":"https://avatars.githubusercontent.com/u/660288?v=3","gravatar_id":"","url":"https://api.github.com/users/gaborcsardi","html_url":"https://github.com/gaborcsardi","followers_url":"https://api.github.com/users/gaborcsardi/followers","following_url":"https://api.github.com/users/gaborcsardi/following{/other_user}","gists_url":"https://api.github.com/users/gaborcsardi/gists{/gist_id}","starred_url":"https://api.github.com/users/gaborcsardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaborcsardi/subscriptions","organizations_url":"https://api.github.com/users/gaborcsardi/orgs","repos_url":"https://api.github.com/users/gaborcsardi/repos","events_url":"https://api.github.com/users/gaborcsardi/events{/privacy}","received_events_url":"https://api.github.com/users/gaborcsardi/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T21:05:06Z","updated_at":"2015-01-14T21:05:06Z","body":"This issue was moved to igraph/rigraph#37"}}