{"action":"created","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/11214","repository_url":"https://api.github.com/repos/matplotlib/matplotlib","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/11214/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/11214/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/11214/events","html_url":"https://github.com/matplotlib/matplotlib/pull/11214","id":321770036,"number":11214,"title":"DOC: Sort gallery subsections by filename","user":{"login":"ImportanceOfBeingErnest","id":23121882,"avatar_url":"https://avatars2.githubusercontent.com/u/23121882?v=4","gravatar_id":"","url":"https://api.github.com/users/ImportanceOfBeingErnest","html_url":"https://github.com/ImportanceOfBeingErnest","followers_url":"https://api.github.com/users/ImportanceOfBeingErnest/followers","following_url":"https://api.github.com/users/ImportanceOfBeingErnest/following{/other_user}","gists_url":"https://api.github.com/users/ImportanceOfBeingErnest/gists{/gist_id}","starred_url":"https://api.github.com/users/ImportanceOfBeingErnest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ImportanceOfBeingErnest/subscriptions","organizations_url":"https://api.github.com/users/ImportanceOfBeingErnest/orgs","repos_url":"https://api.github.com/users/ImportanceOfBeingErnest/repos","events_url":"https://api.github.com/users/ImportanceOfBeingErnest/events{/privacy}","received_events_url":"https://api.github.com/users/ImportanceOfBeingErnest/received_events","type":"User","site_admin":false},"labels":[{"id":77884,"url":"https://api.github.com/repos/matplotlib/matplotlib/labels/Documentation","name":"Documentation","color":"0015ff","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/33","html_url":"https://github.com/matplotlib/matplotlib/milestone/33","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/33/labels","id":3106573,"number":33,"title":"v2.2-doc","description":"Tracker for documentation updates to 2.2 docs.\r\n\r\non-merge: backport to v2.2.2-doc","creator":{"login":"tacaswell","id":199813,"avatar_url":"https://avatars3.githubusercontent.com/u/199813?v=4","gravatar_id":"","url":"https://api.github.com/users/tacaswell","html_url":"https://github.com/tacaswell","followers_url":"https://api.github.com/users/tacaswell/followers","following_url":"https://api.github.com/users/tacaswell/following{/other_user}","gists_url":"https://api.github.com/users/tacaswell/gists{/gist_id}","starred_url":"https://api.github.com/users/tacaswell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tacaswell/subscriptions","organizations_url":"https://api.github.com/users/tacaswell/orgs","repos_url":"https://api.github.com/users/tacaswell/repos","events_url":"https://api.github.com/users/tacaswell/events{/privacy}","received_events_url":"https://api.github.com/users/tacaswell/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":89,"state":"open","created_at":"2018-02-12T03:23:06Z","updated_at":"2018-05-10T19:29:54Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2018-05-10T00:30:47Z","updated_at":"2018-05-10T20:09:48Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/11214","html_url":"https://github.com/matplotlib/matplotlib/pull/11214","diff_url":"https://github.com/matplotlib/matplotlib/pull/11214.diff","patch_url":"https://github.com/matplotlib/matplotlib/pull/11214.patch"},"body":"## PR Summary\r\n\r\nUp to now the subsections of the gallery were sorted by the length of the code section(s) in the respective example. This let the gallery look a bit chaotic.  \r\nInstead it might be useful to **sort the examples within each subsection by the filename of the example**. This would still not give perfect thematic ordering, but since in many cases the filenames start with the name of the function they focus on, some kind of basic ordering would be achieved.\r\n\r\nNote that an alternative would be to order by example headline/title. This seems not too useful because we can have the examples named like \"A bar plot...\", \"Bar plot...\", \"Demo for Bar..\", \"Subplots with bars\" etc.\r\n\r\nThis PR would introduce ordering by filename, since it seems to be the best one can achieve automatically and without renaming half of the examples. \r\n\r\n## PR Checklist\r\n\r\n- [x] Code is PEP 8 compliant\r\n- [x] Documentation is sphinx and numpydoc compliant\r\n"},"comment":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/comments/388170585","html_url":"https://github.com/matplotlib/matplotlib/pull/11214#issuecomment-388170585","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/11214","id":388170585,"user":{"login":"jklymak","id":1562854,"avatar_url":"https://avatars0.githubusercontent.com/u/1562854?v=4","gravatar_id":"","url":"https://api.github.com/users/jklymak","html_url":"https://github.com/jklymak","followers_url":"https://api.github.com/users/jklymak/followers","following_url":"https://api.github.com/users/jklymak/following{/other_user}","gists_url":"https://api.github.com/users/jklymak/gists{/gist_id}","starred_url":"https://api.github.com/users/jklymak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jklymak/subscriptions","organizations_url":"https://api.github.com/users/jklymak/orgs","repos_url":"https://api.github.com/users/jklymak/repos","events_url":"https://api.github.com/users/jklymak/events{/privacy}","received_events_url":"https://api.github.com/users/jklymak/received_events","type":"User","site_admin":false},"created_at":"2018-05-10T20:09:48Z","updated_at":"2018-05-10T20:09:48Z","author_association":"CONTRIBUTOR","body":"I suppose this is beter.  It'd still be nice if we could order them ourselves somehow...\r\n\r\nhttps://124-100939689-gh.circle-artifacts.com/0/home/circleci/project/doc/build/html/gallery/index.html\r\n\r\n"}}
{"actor":{"display_login":"jklymak"}}