{"action":"closed","number":92,"pull_request":{"url":"https://api.github.com/repos/pyviz/panel/pulls/92","id":221802676,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxODAyNjc2","html_url":"https://github.com/pyviz/panel/pull/92","diff_url":"https://github.com/pyviz/panel/pull/92.diff","patch_url":"https://github.com/pyviz/panel/pull/92.patch","issue_url":"https://api.github.com/repos/pyviz/panel/issues/92","number":92,"state":"closed","locked":false,"title":"Add support for Sympy objects to pane.LaTeX","user":{"login":"jbednar","id":1695496,"node_id":"MDQ6VXNlcjE2OTU0OTY=","avatar_url":"https://avatars0.githubusercontent.com/u/1695496?v=4","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},"body":"Sympy Expr objects have a `.latex()` method for generating a LaTeX-syntax version of the expression, so it's simple to add support to pane.LaTeX for them:\r\n\r\n```\r\nimport sympy\r\nx = sympy.symbols('x')\r\ni = sympy.integrate(sympy.sin(x**2), (x, -sympy.oo, sympy.oo))\r\n\r\nimport panel as pn\r\npn.Row(x, pn.Spacer(width=-150), i, pn.Spacer(width=30), sympy.sin(x**2)) \r\n```\r\n![image](https://user-images.githubusercontent.com/1695496/46740918-86343180-cc69-11e8-9698-9e440429b8eb.png)\r\n\r\nOther changes:\r\n- As the spacing is still unpredictable, which I think is unrelated to LaTeX, I also allowed Spacer to accept negative widths and heights to let things be lined up properly.\r\n- The error message when explicitly instantiating a pane with an unallowed object was still trimming off the last 5 characters (P,a,n,e,l) despite the long-ago renaming, so I fixed that.\r\n","created_at":"2018-10-10T14:04:40Z","updated_at":"2018-10-10T18:03:07Z","closed_at":"2018-10-10T18:03:07Z","merged_at":"2018-10-10T18:03:07Z","merge_commit_sha":"94385748671ef6e4367897e4cee7d58bbe554eb6","assignee":null,"assignees":[],"requested_reviewers":[{"login":"philippjfr","id":1550771,"node_id":"MDQ6VXNlcjE1NTA3NzE=","avatar_url":"https://avatars2.githubusercontent.com/u/1550771?v=4","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}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pyviz/panel/pulls/92/commits","review_comments_url":"https://api.github.com/repos/pyviz/panel/pulls/92/comments","review_comment_url":"https://api.github.com/repos/pyviz/panel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pyviz/panel/issues/92/comments","statuses_url":"https://api.github.com/repos/pyviz/panel/statuses/9143d6ce64ffb7531462bc96e54549734c4c3b9a","head":{"label":"pyviz:sympylatex","ref":"sympylatex","sha":"9143d6ce64ffb7531462bc96e54549734c4c3b9a","user":{"login":"pyviz","id":33973552,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzOTczNTUy","avatar_url":"https://avatars1.githubusercontent.com/u/33973552?v=4","gravatar_id":"","url":"https://api.github.com/users/pyviz","html_url":"https://github.com/pyviz","followers_url":"https://api.github.com/users/pyviz/followers","following_url":"https://api.github.com/users/pyviz/following{/other_user}","gists_url":"https://api.github.com/users/pyviz/gists{/gist_id}","starred_url":"https://api.github.com/users/pyviz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyviz/subscriptions","organizations_url":"https://api.github.com/users/pyviz/orgs","repos_url":"https://api.github.com/users/pyviz/repos","events_url":"https://api.github.com/users/pyviz/events{/privacy}","received_events_url":"https://api.github.com/users/pyviz/received_events","type":"Organization","site_admin":false},"repo":{"id":145848899,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU4NDg4OTk=","name":"panel","full_name":"pyviz/panel","private":false,"owner":{"login":"pyviz","id":33973552,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzOTczNTUy","avatar_url":"https://avatars1.githubusercontent.com/u/33973552?v=4","gravatar_id":"","url":"https://api.github.com/users/pyviz","html_url":"https://github.com/pyviz","followers_url":"https://api.github.com/users/pyviz/followers","following_url":"https://api.github.com/users/pyviz/following{/other_user}","gists_url":"https://api.github.com/users/pyviz/gists{/gist_id}","starred_url":"https://api.github.com/users/pyviz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyviz/subscriptions","organizations_url":"https://api.github.com/users/pyviz/orgs","repos_url":"https://api.github.com/users/pyviz/repos","events_url":"https://api.github.com/users/pyviz/events{/privacy}","received_events_url":"https://api.github.com/users/pyviz/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/pyviz/panel","description":"A high-level Python toolkit for composing widgets and plots","fork":false,"url":"https://api.github.com/repos/pyviz/panel","forks_url":"https://api.github.com/repos/pyviz/panel/forks","keys_url":"https://api.github.com/repos/pyviz/panel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pyviz/panel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pyviz/panel/teams","hooks_url":"https://api.github.com/repos/pyviz/panel/hooks","issue_events_url":"https://api.github.com/repos/pyviz/panel/issues/events{/number}","events_url":"https://api.github.com/repos/pyviz/panel/events","assignees_url":"https://api.github.com/repos/pyviz/panel/assignees{/user}","branches_url":"https://api.github.com/repos/pyviz/panel/branches{/branch}","tags_url":"https://api.github.com/repos/pyviz/panel/tags","blobs_url":"https://api.github.com/repos/pyviz/panel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pyviz/panel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pyviz/panel/git/refs{/sha}","trees_url":"https://api.github.com/repos/pyviz/panel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pyviz/panel/statuses/{sha}","languages_url":"https://api.github.com/repos/pyviz/panel/languages","stargazers_url":"https://api.github.com/repos/pyviz/panel/stargazers","contributors_url":"https://api.github.com/repos/pyviz/panel/contributors","subscribers_url":"https://api.github.com/repos/pyviz/panel/subscribers","subscription_url":"https://api.github.com/repos/pyviz/panel/subscription","commits_url":"https://api.github.com/repos/pyviz/panel/commits{/sha}","git_commits_url":"https://api.github.com/repos/pyviz/panel/git/commits{/sha}","comments_url":"https://api.github.com/repos/pyviz/panel/comments{/number}","issue_comment_url":"https://api.github.com/repos/pyviz/panel/issues/comments{/number}","contents_url":"https://api.github.com/repos/pyviz/panel/contents/{+path}","compare_url":"https://api.github.com/repos/pyviz/panel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pyviz/panel/merges","archive_url":"https://api.github.com/repos/pyviz/panel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pyviz/panel/downloads","issues_url":"https://api.github.com/repos/pyviz/panel/issues{/number}","pulls_url":"https://api.github.com/repos/pyviz/panel/pulls{/number}","milestones_url":"https://api.github.com/repos/pyviz/panel/milestones{/number}","notifications_url":"https://api.github.com/repos/pyviz/panel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pyviz/panel/labels{/name}","releases_url":"https://api.github.com/repos/pyviz/panel/releases{/id}","deployments_url":"https://api.github.com/repos/pyviz/panel/deployments","created_at":"2018-08-23T12:14:24Z","updated_at":"2018-10-10T17:09:33Z","pushed_at":"2018-10-10T18:03:07Z","git_url":"git://github.com/pyviz/panel.git","ssh_url":"git@github.com:pyviz/panel.git","clone_url":"https://github.com/pyviz/panel.git","svn_url":"https://github.com/pyviz/panel","homepage":"https://panel.pyviz.org","size":1161,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":17,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":2,"open_issues":17,"watchers":10,"default_branch":"master"}},"base":{"label":"pyviz:master","ref":"master","sha":"165c6cd0ed78cb44ff86ef60928388813cf06063","user":{"login":"pyviz","id":33973552,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzOTczNTUy","avatar_url":"https://avatars1.githubusercontent.com/u/33973552?v=4","gravatar_id":"","url":"https://api.github.com/users/pyviz","html_url":"https://github.com/pyviz","followers_url":"https://api.github.com/users/pyviz/followers","following_url":"https://api.github.com/users/pyviz/following{/other_user}","gists_url":"https://api.github.com/users/pyviz/gists{/gist_id}","starred_url":"https://api.github.com/users/pyviz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyviz/subscriptions","organizations_url":"https://api.github.com/users/pyviz/orgs","repos_url":"https://api.github.com/users/pyviz/repos","events_url":"https://api.github.com/users/pyviz/events{/privacy}","received_events_url":"https://api.github.com/users/pyviz/received_events","type":"Organization","site_admin":false},"repo":{"id":145848899,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU4NDg4OTk=","name":"panel","full_name":"pyviz/panel","private":false,"owner":{"login":"pyviz","id":33973552,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzOTczNTUy","avatar_url":"https://avatars1.githubusercontent.com/u/33973552?v=4","gravatar_id":"","url":"https://api.github.com/users/pyviz","html_url":"https://github.com/pyviz","followers_url":"https://api.github.com/users/pyviz/followers","following_url":"https://api.github.com/users/pyviz/following{/other_user}","gists_url":"https://api.github.com/users/pyviz/gists{/gist_id}","starred_url":"https://api.github.com/users/pyviz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyviz/subscriptions","organizations_url":"https://api.github.com/users/pyviz/orgs","repos_url":"https://api.github.com/users/pyviz/repos","events_url":"https://api.github.com/users/pyviz/events{/privacy}","received_events_url":"https://api.github.com/users/pyviz/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/pyviz/panel","description":"A high-level Python toolkit for composing widgets and plots","fork":false,"url":"https://api.github.com/repos/pyviz/panel","forks_url":"https://api.github.com/repos/pyviz/panel/forks","keys_url":"https://api.github.com/repos/pyviz/panel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pyviz/panel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pyviz/panel/teams","hooks_url":"https://api.github.com/repos/pyviz/panel/hooks","issue_events_url":"https://api.github.com/repos/pyviz/panel/issues/events{/number}","events_url":"https://api.github.com/repos/pyviz/panel/events","assignees_url":"https://api.github.com/repos/pyviz/panel/assignees{/user}","branches_url":"https://api.github.com/repos/pyviz/panel/branches{/branch}","tags_url":"https://api.github.com/repos/pyviz/panel/tags","blobs_url":"https://api.github.com/repos/pyviz/panel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pyviz/panel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pyviz/panel/git/refs{/sha}","trees_url":"https://api.github.com/repos/pyviz/panel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pyviz/panel/statuses/{sha}","languages_url":"https://api.github.com/repos/pyviz/panel/languages","stargazers_url":"https://api.github.com/repos/pyviz/panel/stargazers","contributors_url":"https://api.github.com/repos/pyviz/panel/contributors","subscribers_url":"https://api.github.com/repos/pyviz/panel/subscribers","subscription_url":"https://api.github.com/repos/pyviz/panel/subscription","commits_url":"https://api.github.com/repos/pyviz/panel/commits{/sha}","git_commits_url":"https://api.github.com/repos/pyviz/panel/git/commits{/sha}","comments_url":"https://api.github.com/repos/pyviz/panel/comments{/number}","issue_comment_url":"https://api.github.com/repos/pyviz/panel/issues/comments{/number}","contents_url":"https://api.github.com/repos/pyviz/panel/contents/{+path}","compare_url":"https://api.github.com/repos/pyviz/panel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pyviz/panel/merges","archive_url":"https://api.github.com/repos/pyviz/panel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pyviz/panel/downloads","issues_url":"https://api.github.com/repos/pyviz/panel/issues{/number}","pulls_url":"https://api.github.com/repos/pyviz/panel/pulls{/number}","milestones_url":"https://api.github.com/repos/pyviz/panel/milestones{/number}","notifications_url":"https://api.github.com/repos/pyviz/panel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pyviz/panel/labels{/name}","releases_url":"https://api.github.com/repos/pyviz/panel/releases{/id}","deployments_url":"https://api.github.com/repos/pyviz/panel/deployments","created_at":"2018-08-23T12:14:24Z","updated_at":"2018-10-10T17:09:33Z","pushed_at":"2018-10-10T18:03:07Z","git_url":"git://github.com/pyviz/panel.git","ssh_url":"git@github.com:pyviz/panel.git","clone_url":"https://github.com/pyviz/panel.git","svn_url":"https://github.com/pyviz/panel","homepage":"https://panel.pyviz.org","size":1161,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":17,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":2,"open_issues":17,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pyviz/panel/pulls/92"},"html":{"href":"https://github.com/pyviz/panel/pull/92"},"issue":{"href":"https://api.github.com/repos/pyviz/panel/issues/92"},"comments":{"href":"https://api.github.com/repos/pyviz/panel/issues/92/comments"},"review_comments":{"href":"https://api.github.com/repos/pyviz/panel/pulls/92/comments"},"review_comment":{"href":"https://api.github.com/repos/pyviz/panel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pyviz/panel/pulls/92/commits"},"statuses":{"href":"https://api.github.com/repos/pyviz/panel/statuses/9143d6ce64ffb7531462bc96e54549734c4c3b9a"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"philippjfr","id":1550771,"node_id":"MDQ6VXNlcjE1NTA3NzE=","avatar_url":"https://avatars2.githubusercontent.com/u/1550771?v=4","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},"comments":5,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":24,"deletions":10,"changed_files":2}}
{"actor":{"display_login":"philippjfr"}}