{"action":"opened","issue":{"url":"https://api.github.com/repos/glue-viz/glue/issues/799","labels_url":"https://api.github.com/repos/glue-viz/glue/issues/799/labels{/name}","comments_url":"https://api.github.com/repos/glue-viz/glue/issues/799/comments","events_url":"https://api.github.com/repos/glue-viz/glue/issues/799/events","html_url":"https://github.com/glue-viz/glue/issues/799","id":118027961,"number":799,"title":"PyQtGraph widgets appear blurred when inside glue","user":{"login":"astrofrog","id":314716,"avatar_url":"https://avatars.githubusercontent.com/u/314716?v=3","gravatar_id":"","url":"https://api.github.com/users/astrofrog","html_url":"https://github.com/astrofrog","followers_url":"https://api.github.com/users/astrofrog/followers","following_url":"https://api.github.com/users/astrofrog/following{/other_user}","gists_url":"https://api.github.com/users/astrofrog/gists{/gist_id}","starred_url":"https://api.github.com/users/astrofrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astrofrog/subscriptions","organizations_url":"https://api.github.com/users/astrofrog/orgs","repos_url":"https://api.github.com/users/astrofrog/repos","events_url":"https://api.github.com/users/astrofrog/events{/privacy}","received_events_url":"https://api.github.com/users/astrofrog/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-20T12:09:54Z","updated_at":"2015-11-20T12:09:54Z","closed_at":null,"body":"We discussed this with @nmearl and found that we could avoid this by explicitly setting the widget to use OpenGL, but this is likely only a workaround. The minimal example from @nmearl is:\r\n\r\n```python\r\nfrom PySide import QtGui\r\nimport numpy as np\r\nimport pyqtgraph as pg\r\n\r\napp = QtGui.QApplication([])\r\n\r\nwin = QtGui.QMainWindow()\r\nwin.resize(800, 800)\r\nimv = pg.ImageView()\r\nwin.setCentralWidget(imv)\r\nwin.show()\r\n\r\ndata = np.random.sample(size=(1000, 1000)) * 1e10\r\nimv.setImage(data)\r\n\r\n\r\nif __name__ == '__main__':\r\n    import sys\r\n    if (sys.flags.interactive != 1) or not hasattr(QtCore, 'PYQT_VERSION'):\r\n        QtGui.QApplication.instance().exec_()\r\n```\r\n\r\nand the workaround was to use\r\n\r\n```python\r\npg.setConfigOption(\"useOpenGL\", True)\r\n```"}}