{"action":"created","issue":{"url":"https://api.github.com/repos/xraypy/xraylarch/issues/118","labels_url":"https://api.github.com/repos/xraypy/xraylarch/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/xraypy/xraylarch/issues/118/comments","events_url":"https://api.github.com/repos/xraypy/xraylarch/issues/118/events","html_url":"https://github.com/xraypy/xraylarch/pull/118","id":98798038,"number":118,"title":"display(), a more feature full variation of show()","user":{"login":"bruceravel","id":638186,"avatar_url":"https://avatars.githubusercontent.com/u/638186?v=3","gravatar_id":"","url":"https://api.github.com/users/bruceravel","html_url":"https://github.com/bruceravel","followers_url":"https://api.github.com/users/bruceravel/followers","following_url":"https://api.github.com/users/bruceravel/following{/other_user}","gists_url":"https://api.github.com/users/bruceravel/gists{/gist_id}","starred_url":"https://api.github.com/users/bruceravel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bruceravel/subscriptions","organizations_url":"https://api.github.com/users/bruceravel/orgs","repos_url":"https://api.github.com/users/bruceravel/repos","events_url":"https://api.github.com/users/bruceravel/events{/privacy}","received_events_url":"https://api.github.com/users/bruceravel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-03T17:26:02Z","updated_at":"2015-09-11T21:57:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xraypy/xraylarch/pulls/118","html_url":"https://github.com/xraypy/xraylarch/pull/118","diff_url":"https://github.com/xraypy/xraylarch/pull/118.diff","patch_url":"https://github.com/xraypy/xraylarch/pull/118.patch"},"body":"I find myself dissatisfied with `show()`, particularly for a group with a lot of members.  This stab at an \"improvement\" adds flags for color, truncating lengthy lists and tuples, and suppressing bound methods.  All this together makes it a bit easier -- at least for me -- to examine the group's contents.\r\n\r\nNote that \r\n```python\r\ndisplay(group, truncate=False, with_color=False, with_methods=True)\r\n```\r\nbehaves just like `show(group)`.\r\n\r\nI put this in `plugins/local/` and in the `_local` group.  It's not clear to me quite what the purpose of \"local\" is.  `plugins/std` might have been more appropriate, but I did not want to put this in `_builtin`."},"comment":{"url":"https://api.github.com/repos/xraypy/xraylarch/issues/comments/139670350","html_url":"https://github.com/xraypy/xraylarch/pull/118#issuecomment-139670350","issue_url":"https://api.github.com/repos/xraypy/xraylarch/issues/118","id":139670350,"user":{"login":"newville","id":304251,"avatar_url":"https://avatars.githubusercontent.com/u/304251?v=3","gravatar_id":"","url":"https://api.github.com/users/newville","html_url":"https://github.com/newville","followers_url":"https://api.github.com/users/newville/followers","following_url":"https://api.github.com/users/newville/following{/other_user}","gists_url":"https://api.github.com/users/newville/gists{/gist_id}","starred_url":"https://api.github.com/users/newville/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newville/subscriptions","organizations_url":"https://api.github.com/users/newville/orgs","repos_url":"https://api.github.com/users/newville/repos","events_url":"https://api.github.com/users/newville/events{/privacy}","received_events_url":"https://api.github.com/users/newville/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T21:57:09Z","updated_at":"2015-09-11T21:57:09Z","body":"working on configurable colors for show() using `_sys.display.colors` group, at https://github.com/xraypy/xraylarch/tree/configurable_show\r\n\r\nI'd like to get this to be linux/Windows friendly, and also be able to support color output for wx GUIs, but at least for now it works to allow choices of colors for linux terminals.\r\n"}}