Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit afff431

Browse files
committed
MAINT: remove noqa comments
1 parent 201dd2f commit afff431

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

lib/matplotlib/artist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
# python trick. The answer is that I need to be able to manipulate
2929
# the docstring, and there is no clever way to do that in python 2.2,
3030
# as far as I can see - see
31-
# http://groups.google.com/groups?hl=en&lr=&threadm=mailman.5090.1098044946.5135.python-list%40python.org&rnum=1&prev=/groups%3Fq%3D__doc__%2Bauthor%253Ajdhunter%2540ace.bsd.uchicago.edu%26hl%3Den%26btnG%3DGoogle%2BSearch # noqa
31+
# http://groups.google.com/groups?hl=en&lr=&threadm=mailman.5090.1098044946.5135.python-list%40python.org&rnum=1&prev=/groups%3Fq%3D__doc__%2Bauthor%253Ajdhunter%2540ace.bsd.uchicago.edu%26hl%3Den%26btnG%3DGoogle%2BSearch
3232

3333

3434
def allow_rasterization(draw):

lib/matplotlib/bezier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def get_normal_points(cx, cy, cos_t, sin_t, length):
7373
# BEZIER routines
7474

7575
# subdividing bezier curve
76-
# http://www.cs.mtu.edu/~shene/COURSES/cs3621/NOTES/spline/Bezier/bezier-sub.html # noqa
76+
# http://www.cs.mtu.edu/~shene/COURSES/cs3621/NOTES/spline/Bezier/bezier-sub.html
7777

7878

7979
def _de_casteljau1(beta, t):

lib/matplotlib/tests/test_dates.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
def test_date_empty():
2626
# make sure mpl does the right thing when told to plot dates even
2727
# if no date data has been presented, cf
28-
# http://sourceforge.net/tracker/?func=detail&aid=2850075&group_id=80706&atid=560720 # noqa
28+
# http://sourceforge.net/tracker/?func=detail&aid=2850075&group_id=80706&atid=560720
2929
fig = plt.figure()
3030
ax = fig.add_subplot(1, 1, 1)
3131
ax.xaxis_date()
@@ -88,7 +88,7 @@ def test_date_axvline():
8888
@cleanup
8989
def test_too_many_date_ticks():
9090
# Attempt to test SF 2715172, see
91-
# https://sourceforge.net/tracker/?func=detail&aid=2715172&group_id=80706&atid=560720 # noqa
91+
# https://sourceforge.net/tracker/?func=detail&aid=2715172&group_id=80706&atid=560720
9292
# setting equal datetimes triggers and expander call in
9393
# transforms.nonsingular which results in too many ticks in the
9494
# DayLocator. This should trigger a Locator.MAXTICKS RuntimeError
@@ -202,7 +202,7 @@ def test_drange():
202202
@cleanup
203203
def test_empty_date_with_year_formatter():
204204
# exposes sf bug 2861426:
205-
# https://sourceforge.net/tracker/?func=detail&aid=2861426&group_id=80706&atid=560720 # noqa
205+
# https://sourceforge.net/tracker/?func=detail&aid=2861426&group_id=80706&atid=560720
206206

207207
# update: I am no longer believe this is a bug, as I commented on
208208
# the tracker. The question is now: what to do with this test

lib/mpl_toolkits/axes_grid1/anchored_artists.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def __init__(self, transform, size, label, loc,
119119
120120
>>> import matplotlib.font_manager as fm
121121
>>> fontprops = fm.FontProperties(size=14, family='monospace')
122-
>>> bar = AnchoredSizeBar(ax.transData, 3, '3 units', 4, pad=0.5, sep=5, borderpad=0.5, frameon=False, size_vertical=0.5, color='white', fontproperties=fontprops) # noqa
122+
>>> bar = AnchoredSizeBar(ax.transData, 3, '3 units', 4, pad=0.5, sep=5, borderpad=0.5, frameon=False, size_vertical=0.5, color='white', fontproperties=fontprops)
123123
124124
"""
125125

0 commit comments

Comments
 (0)