{"action":"created","issue":{"url":"https://api.github.com/repos/ioam/holoviews/issues/264","labels_url":"https://api.github.com/repos/ioam/holoviews/issues/264/labels{/name}","comments_url":"https://api.github.com/repos/ioam/holoviews/issues/264/comments","events_url":"https://api.github.com/repos/ioam/holoviews/issues/264/events","html_url":"https://github.com/ioam/holoviews/issues/264","id":105845322,"number":264,"title":"Allow easy definition of sanitized substitutions","user":{"login":"jlstevens","id":890576,"avatar_url":"https://avatars.githubusercontent.com/u/890576?v=3","gravatar_id":"","url":"https://api.github.com/users/jlstevens","html_url":"https://github.com/jlstevens","followers_url":"https://api.github.com/users/jlstevens/followers","following_url":"https://api.github.com/users/jlstevens/following{/other_user}","gists_url":"https://api.github.com/users/jlstevens/gists{/gist_id}","starred_url":"https://api.github.com/users/jlstevens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlstevens/subscriptions","organizations_url":"https://api.github.com/users/jlstevens/orgs","repos_url":"https://api.github.com/users/jlstevens/repos","events_url":"https://api.github.com/users/jlstevens/events{/privacy}","received_events_url":"https://api.github.com/users/jlstevens/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ioam/holoviews/labels/feature","name":"feature","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ioam/holoviews/milestones/7","html_url":"https://github.com/ioam/holoviews/milestones/v1.4.0","labels_url":"https://api.github.com/repos/ioam/holoviews/milestones/7/labels","id":1300858,"number":7,"title":"v1.4.0","description":"The last release is now over two months old and we've added a wide range of features including merging of the bokeh backend. There's no fixed date set for this release yet but we'll start assigning issues that we think can be fixed in the near future.\r\n\r\nAdditionally both matplotlib v1.5 and bokeh 0.10 will be released in the near future, this release should  ensure compatibility with both.","creator":{"login":"philippjfr","id":1550771,"avatar_url":"https://avatars.githubusercontent.com/u/1550771?v=3","gravatar_id":"","url":"https://api.github.com/users/philippjfr","html_url":"https://github.com/philippjfr","followers_url":"https://api.github.com/users/philippjfr/followers","following_url":"https://api.github.com/users/philippjfr/following{/other_user}","gists_url":"https://api.github.com/users/philippjfr/gists{/gist_id}","starred_url":"https://api.github.com/users/philippjfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philippjfr/subscriptions","organizations_url":"https://api.github.com/users/philippjfr/orgs","repos_url":"https://api.github.com/users/philippjfr/repos","events_url":"https://api.github.com/users/philippjfr/events{/privacy}","received_events_url":"https://api.github.com/users/philippjfr/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":34,"state":"open","created_at":"2015-09-11T11:12:20Z","updated_at":"2015-11-17T13:34:46Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-09-10T16:19:04Z","updated_at":"2015-11-17T15:54:55Z","closed_at":null,"body":"\r\nFor the next release, we should make sure it is easy for the user to define convenient substitutions for the sanitized strings, particularly dimension names (which can get very unwieldy, especially when LateX is involved)\r\n\r\n One suggestion is to allow definition of an alias at the dimension level e.g by specifying the name as a tuple. Alternatively, we should extend the formatter system to handle custom string sanitation and the idea of a tuple for a name could just be a shortcut to defining the appropriate formatter."},"comment":{"url":"https://api.github.com/repos/ioam/holoviews/issues/comments/157411755","html_url":"https://github.com/ioam/holoviews/issues/264#issuecomment-157411755","issue_url":"https://api.github.com/repos/ioam/holoviews/issues/264","id":157411755,"user":{"login":"jbednar","id":1695496,"avatar_url":"https://avatars.githubusercontent.com/u/1695496?v=3","gravatar_id":"","url":"https://api.github.com/users/jbednar","html_url":"https://github.com/jbednar","followers_url":"https://api.github.com/users/jbednar/followers","following_url":"https://api.github.com/users/jbednar/following{/other_user}","gists_url":"https://api.github.com/users/jbednar/gists{/gist_id}","starred_url":"https://api.github.com/users/jbednar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbednar/subscriptions","organizations_url":"https://api.github.com/users/jbednar/orgs","repos_url":"https://api.github.com/users/jbednar/repos","events_url":"https://api.github.com/users/jbednar/events{/privacy}","received_events_url":"https://api.github.com/users/jbednar/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T15:54:55Z","updated_at":"2015-11-17T15:54:55Z","body":"Sounds like a clean proposal.  \r\n\r\nI guess that adding a lookup table containing all the Greek letters (upper and lower case) and translating anything found in the table to their LaTeX equivalents is too tricksy?  That wouldn't cover other common cases like letters with super or subscripts, of course.\r\n\r\nAs it is, the label_formatter will have to be set for each and every dimension that's a Greek letter, which seems painful (though better than before).  I'm not actually arguing for the pre-populated global lookup table, just making sure you've considered it already and rejected it as making too many assumptions."}}