8000 include PySide in qt4agg backend check by jbmohler · Pull Request #3387 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

include PySide in qt4agg backend check #3387

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 17, 2014

Conversation

jbmohler
Copy link
Contributor

No description provided.

@jbmohler
Copy link
Contributor Author

Here is alternative PR addressing the claimed issue of #3386

@efiring
Copy link
Member
efiring commented Aug 19, 2014

I think this is on the right track. It might benefit from a bit of style revision; I can't review it now.

@tacaswell tacaswell added this to the v1.5.x milestone Aug 19, 2014
result2 = backend_pyqt4_internal_check(self)
except CheckFailed:
if result1 == None:
raise
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this should something like:

raise CheckFailed("Neither PySide nor PyQt4 was found")

As it is now it will output "qt4agg: no [PyQt4 not found]" if neither PySide or PyQt4 is installed.

@jenshnielsen
Copy link
Member

I think this looks sensible and I would like to have it merged. I have one inline comment about the output when neither library is installed but apart from that 👍

@jbmohler
Copy link
Contributor Author

Thanks @jenshnielsen . That double check and the logic of failure modes boggled me more than I care to admit. I redid things a bit more than you suggested and I think the result is much better.

@jenshnielsen
Copy link
Member

Yes this version is much more clean. To me this is a definitely a significant improvement that makes all the different qt backends and libraries much easier to understand as well as fixing the bugs. Once travis is happy I will merge this.

jenshnielsen added a commit that referenced this pull request Oct 17, 2014
include PySide in qt4agg backend check
@jenshnielsen jenshnielsen merged commit e195bf5 into matplotlib:master Oct 17, 2014
@jbmohler jbmohler deleted the pyside_inclusion2 branch October 20, 2014 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0