-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
More misc. typos #10266
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
More misc. typos #10266
Conversation
Thanks! Do you think it would be possible to run codespell on travis to make sure we do not put spelling errors in to begin with? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
contingent on tests passing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few corrections.
lib/matplotlib/backend_tools.py
Outdated
@@ -228,7 +228,7 @@ def set_figure(self, figure): | |||
if figure: | |||
self.trigger(self, None) | |||
else: | |||
# if there is no figure, triggen wont change the internal state | |||
# if there is no figure, trigger wont change the internal state |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be won't
as well.
lib/matplotlib/dates.py
Outdated
@@ -1422,15 +1422,15 @@ def autoscale(self): | |||
|
|||
class MonthLocator(RRuleLocator): | |||
""" | |||
Make ticks on occurances of each month month, e.g., 1, 3, 12. | |||
Make ticks on occurrences of each month month, e.g., 1, 3, 12. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Double 'month', I think.
lib/matplotlib/patches.py
Outdated
@@ -2831,7 +2831,7 @@ def __reduce__(self): | |||
class Arc3(_Base): | |||
""" | |||
Creates a simple quadratic bezier curve between two | |||
points. The curve is created so that the middle contol points | |||
points. The curve is created so that the middle control points |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
middle control point
(not plural)
lib/matplotlib/offsetbox.py
Outdated
@@ -626,7 +626,7 @@ def set_offset(self, xy): | |||
""" | |||
set offset of the container. | |||
|
|||
Accept : tuple of x,y cooridnate in disokay units. | |||
Accept : tuple of x,y coordinate in disokay units. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/disokay/display/
lib/matplotlib/tri/trirefine.py
Outdated
@@ -285,7 +285,7 @@ def _refine_triangulation_once(triangulation, ancestors=None): | |||
|
|||
# Now dealing with slave elems. | |||
# for each slave element we identify the master and then the inode | |||
# onces slave_masters is indentified, slave_masters_apex is such that: | |||
# onces slave_masters is identified, slave_masters_apex is such that: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
once
Made changes. Please let me know when and I'll squash the commits.
@tacaswell Yes, check out codespell-project/codespell#139 for some methodologies. |
This has a couple of PEP8 lines that are too long, and needs a rebase... |
24ba14e
to
3376689
Compare
@jklymak shall I use |
Just drill down on the Travis-CI python 3.6 test. It lists the pep8 errors that we care about... You have a couple of lines that are too long... |
Follow-up to matplotlib#10261
3376689
to
8ff3658
Compare
@jklymak pep8 fixes submitted |
Follow-up to #10261