{"action":"created","issue":{"url":"https://api.github.com/repos/QISKit/qiskit-core/issues/595","repository_url":"https://api.github.com/repos/QISKit/qiskit-core","labels_url":"https://api.github.com/repos/QISKit/qiskit-core/issues/595/labels{/name}","comments_url":"https://api.github.com/repos/QISKit/qiskit-core/issues/595/comments","events_url":"https://api.github.com/repos/QISKit/qiskit-core/issues/595/events","html_url":"https://github.com/QISKit/qiskit-core/issues/595","id":335488506,"node_id":"MDU6SXNzdWUzMzU0ODg1MDY=","number":595,"title":"Factor out visualisation code","user":{"login":"eddieschoute","id":25747714,"node_id":"MDQ6VXNlcjI1NzQ3NzE0","avatar_url":"https://avatars2.githubusercontent.com/u/25747714?v=4","gravatar_id":"","url":"https://api.github.com/users/eddieschoute","html_url":"https://github.com/eddieschoute","followers_url":"https://api.github.com/users/eddieschoute/followers","following_url":"https://api.github.com/users/eddieschoute/following{/other_user}","gists_url":"https://api.github.com/users/eddieschoute/gists{/gist_id}","starred_url":"https://api.github.com/users/eddieschoute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eddieschoute/subscriptions","organizations_url":"https://api.github.com/users/eddieschoute/orgs","repos_url":"https://api.github.com/users/eddieschoute/repos","events_url":"https://api.github.com/users/eddieschoute/events{/privacy}","received_events_url":"https://api.github.com/users/eddieschoute/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-25T16:54:54Z","updated_at":"2018-06-27T20:28:11Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"<!-- ⚠️ If you do not respect this template, your issue will be closed -->\r\n<!-- ⚠️ Make sure to browse the opened and closed issues to confirm this idea does not exist. -->\r\n\r\n### Current issue\r\nI am trying to install qiskit with pypy (v.6.0.0) but it fails on the matplotlib dependency. I don't need matplotlib in my project as a runtime dependency since I am only generating dataframes (from `pandas`). Later, I use these dataframes in a python notebook to do visualisation.\r\n\r\n### What is the expected enhancement?\r\nCurrently, qiskit-sdk depends on two visualisation libraries: matplotlib and pillow. These do not provide core functionality for qiskit, but rather provide a nice way for a user to interact with the data structures provided by qiskit.\r\nI suggest factoring out the visualisation code and dependencies into a separate project or plugin.\r\n\r\nFurthermore, it may be worth it to re-evaluate which dependencies provide \"core\" functionality for qiskit as a library rather than as an application.\r\n"},"comment":{"url":"https://api.github.com/repos/QISKit/qiskit-core/issues/comments/400817921","html_url":"https://github.com/QISKit/qiskit-core/issues/595#issuecomment-400817921","issue_url":"https://api.github.com/repos/QISKit/qiskit-core/issues/595","id":400817921,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDgxNzkyMQ==","user":{"login":"nonhermitian","id":1249193,"node_id":"MDQ6VXNlcjEyNDkxOTM=","avatar_url":"https://avatars1.githubusercontent.com/u/1249193?v=4","gravatar_id":"","url":"https://api.github.com/users/nonhermitian","html_url":"https://github.com/nonhermitian","followers_url":"https://api.github.com/users/nonhermitian/followers","following_url":"https://api.github.com/users/nonhermitian/following{/other_user}","gists_url":"https://api.github.com/users/nonhermitian/gists{/gist_id}","starred_url":"https://api.github.com/users/nonhermitian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nonhermitian/subscriptions","organizations_url":"https://api.github.com/users/nonhermitian/orgs","repos_url":"https://api.github.com/users/nonhermitian/repos","events_url":"https://api.github.com/users/nonhermitian/events{/privacy}","received_events_url":"https://api.github.com/users/nonhermitian/received_events","type":"User","site_admin":false},"created_at":"2018-06-27T20:28:11Z","updated_at":"2018-06-27T20:28:11Z","author_association":"CONTRIBUTOR","body":"How about keeping the core package useful, and just have the visualization\nmodule dependencies optional, and only loaded if the visualization\nfunctions are called?\n\nOn Wed, Jun 27, 2018, 22:14 Eddie Schoute <notifications@github.com> wrote:\n\n> Yes, I think qiskit could function both as a library and an application.\n> But the library should have minimal dependencies.\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/QISKit/qiskit-core/issues/595#issuecomment-400814268>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/ABMPqUsnJhR3z_yBH0H44Q7faCRg-S4Lks5uA-e5gaJpZM4U2gWz>\n> .\n>\n"}}
{"actor":{"display_login":"nonhermitian"}}