{"action":"created","issue":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/5275","repository_url":"https://api.github.com/repos/bokeh/bokeh","labels_url":"https://api.github.com/repos/bokeh/bokeh/issues/5275/labels{/name}","comments_url":"https://api.github.com/repos/bokeh/bokeh/issues/5275/comments","events_url":"https://api.github.com/repos/bokeh/bokeh/issues/5275/events","html_url":"https://github.com/bokeh/bokeh/issues/5275","id":180753123,"number":5275,"title":"`mpl deprecation warning` for converting simple `plt.scatterplot` to `bokeh`","user":{"login":"jolespin","id":9061708,"avatar_url":"https://avatars.githubusercontent.com/u/9061708?v=3","gravatar_id":"","url":"https://api.github.com/users/jolespin","html_url":"https://github.com/jolespin","followers_url":"https://api.github.com/users/jolespin/followers","following_url":"https://api.github.com/users/jolespin/following{/other_user}","gists_url":"https://api.github.com/users/jolespin/gists{/gist_id}","starred_url":"https://api.github.com/users/jolespin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jolespin/subscriptions","organizations_url":"https://api.github.com/users/jolespin/orgs","repos_url":"https://api.github.com/users/jolespin/repos","events_url":"https://api.github.com/users/jolespin/events{/privacy}","received_events_url":"https://api.github.com/users/jolespin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-03T21:34:47Z","updated_at":"2016-10-03T21:37:28Z","closed_at":null,"body":"```\r\nimport bokeh\r\nprint(bokeh.__version__)\r\n# 0.12.2\r\n\r\n# Plot from Matplotlib\r\n\r\n# Tools (Not sure how to add this when converting from `matplotlib` or `Seaborn`)\r\nhover = HoverTool(\r\n        tooltips=[\r\n            (\"index\", \"@index\"),\r\n            (\"(x,y)\", \"(@t, $y)\"),\r\n            (\"desc\", \"@desc\"),\r\n        ]\r\n    )\r\n\r\n# Data\r\nDF_data = pd.DataFrame([a, np.sin(np.pi*a), np.cos(np.pi*a)], index=[\"t\", \"sine\", \"cosine\"], columns=[\"t_%d\"%_ for _ in range(100)]).T\r\nDF_data[\"desc\"] = [\"info about this\" for _ in DF_data.index]\r\n\r\n# Matplotlib\r\nfig, ax = plt.subplots(figsize=(15,5))\r\nax.scatter(data=DF_data, x=\"t\", y=\"sine\", s=np.linspace(0,100,100), alpha=0.5, color=\"green\")\r\nax.scatter(data=DF_data, x=\"t\", y=\"cosine\", s=np.linspace(0,100,100)[::-1], alpha=0.5, color=\"teal\")\r\n\r\n# Convert to Bokeh\r\nbokeh.io.show(bokeh.mpl.to_bokeh())\r\n```\r\nThe error:\r\n\r\n\r\n> /Users/Mu/anaconda/lib/python3.5/site-packages/bokeh/core/compat/bokeh_renderer.py:257: UserWarning:\r\n> \r\n> Path marker shapes currently not handled, defaulting to Circle\r\n> \r\n> /Users/Mu/anaconda/lib/python3.5/site-packages/matplotlib/artist.py:221: MatplotlibDeprecationWarning:\r\n> \r\n> This has been deprecated in mpl 1.5, please use the\r\n> axes property.  A removal date has not been set.\r\n> \r\n> /Users/Mu/anaconda/lib/python3.5/site-packages/bokeh/core/compat/bokeh_renderer.py:290: UserWarning:\r\n> \r\n> Path marker sizes support is limited and may not display as expected\r\n\r\n\r\nThe output plot:\r\n![screen shot 2016-10-03 at 2 32 59 pm](https://cloud.githubusercontent.com/assets/9061708/19054918/61c3066a-8976-11e6-8bab-522f6b1b04fa.png)\r\n"},"comment":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/comments/251234811","html_url":"https://github.com/bokeh/bokeh/issues/5275#issuecomment-251234811","issue_url":"https://api.github.com/repos/bokeh/bokeh/issues/5275","id":251234811,"user":{"login":"bryevdv","id":1078448,"avatar_url":"https://avatars.githubusercontent.com/u/1078448?v=3","gravatar_id":"","url":"https://api.github.com/users/bryevdv","html_url":"https://github.com/bryevdv","followers_url":"https://api.github.com/users/bryevdv/followers","following_url":"https://api.github.com/users/bryevdv/following{/other_user}","gists_url":"https://api.github.com/users/bryevdv/gists{/gist_id}","starred_url":"https://api.github.com/users/bryevdv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryevdv/subscriptions","organizations_url":"https://api.github.com/users/bryevdv/orgs","repos_url":"https://api.github.com/users/bryevdv/repos","events_url":"https://api.github.com/users/bryevdv/events{/privacy}","received_events_url":"https://api.github.com/users/bryevdv/received_events","type":"User","site_admin":false},"created_at":"2016-10-03T21:37:28Z","updated_at":"2016-10-03T21:37:28Z","body":"I'm afraid there is not much we can do about this. The actual MPL code is in a third-party library that is no longer maintained. We do not have the resources to put into taking over that project. In any case MPL support is only partial. For something as simple as this you are far better off using native Bokeh APIs instead of MPL compat. "}}
{"actor":{"display_login":"bryevdv"}}