Skip to content
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

Fix %matplotlib #11814

Merged
merged 1 commit into from Jul 7, 2019
Merged

Fix %matplotlib #11814

merged 1 commit into from Jul 7, 2019

Conversation

@OriolAbril
Copy link
Contributor

@OriolAbril OriolAbril commented Jul 4, 2019

Hey, I did a PR some days ago (#11748) in order to allow %matplotlib to accept uppercase backend names. However, I have just realized that I totally overlooked the fact that args.gui may not be a str. I think it can only be none or a string, but I feel this solution is safer. I am really sorry because now %matplotlib with no backend does not work.

@Carreau

args.gui may not be a str
@OriolAbril
Copy link
Contributor Author

@OriolAbril OriolAbril commented Jul 4, 2019

Oh, vim removed all the spaces it deemed as unnecessary. Should I undo this change to leave the diff as one line?

Loading

@Carreau
Copy link
Member

@Carreau Carreau commented Jul 7, 2019

Oh, vim removed all the spaces it deemed as unnecessary. Should I undo this change to leave the diff as one line?

Well, usually I don't like it, but it happens often enough that removing them if fine and will prevent it from happening again.

Loading

@Carreau Carreau added this to the 7.7 milestone Jul 7, 2019
@Carreau Carreau merged commit 8c3acd2 into ipython:master Jul 7, 2019
2 checks passed
Loading
@Carreau
Copy link
Member

@Carreau Carreau commented Jul 7, 2019

Thanks !

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants