Skip to content

Renamed all 'mtrans' into more common 'mtransforms' #8338

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 5 commits into from
Mar 21, 2017

Conversation

sindunuragarp
Copy link
Contributor

While looking through the codebase, I found that the matplotlib.transforms module was imported twice in matplotlib.axes._axes with two different names, namely mtrans and mtransforms. I found that the latter was a more common usage therefore I renamed all mtrans usages into mtransforms.

@anntzer
Copy link
Contributor

anntzer commented Mar 20, 2017

You'll need to fix the lines that became too long and cause PEP8 violations (https://travis-ci.org/matplotlib/matplotlib/jobs/212698819).

@sindunuragarp
Copy link
Contributor Author

Oh thanks for pointing that out 👍 I'll fix it right away

@tacaswell tacaswell added this to the 2.1 (next point release) milestone Mar 20, 2017
@anntzer
Copy link
Contributor

anntzer commented Mar 20, 2017

still not there... you may want to run the checks locally.

@sindunuragarp
Copy link
Contributor Author

I have run pep8 locally and corrected all e501 violations that is made by mtransforms

@phobson phobson changed the title Renamed all 'mtrans' into more common 'mtransforms' [MRG+1] Renamed all 'mtrans' into more common 'mtransforms' Mar 21, 2017
@NelleV NelleV merged commit c11b096 into matplotlib:master Mar 21, 2017
@NelleV
Copy link
Member

NelleV commented Mar 21, 2017

Thanks @sindunuragarp
btw, most text editor have pep8 plugins that show you as you type if you are breaking pep8 compatibility.

@sindunuragarp
Copy link
Contributor Author

Thanks for the suggestion! I'll keep that in mind 👍

@QuLogic QuLogic changed the title [MRG+1] Renamed all 'mtrans' into more common 'mtransforms' Renamed all 'mtrans' into more common 'mtransforms' Mar 21, 2017
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