From afff43112cffcecf015b9e9d167c2ab1d19bd3c9 Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 18 Feb 2015 22:45:06 -0500 Subject: [PATCH] MAINT: remove noqa comments --- lib/matplotlib/artist.py | 2 +- lib/matplotlib/bezier.py | 2 +- lib/matplotlib/tests/test_dates.py | 6 +++--- lib/mpl_toolkits/axes_grid1/anchored_artists.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/matplotlib/artist.py b/lib/matplotlib/artist.py index 0062f7929f7a..7fb492367f1d 100644 --- a/lib/matplotlib/artist.py +++ b/lib/matplotlib/artist.py @@ -28,7 +28,7 @@ # python trick. The answer is that I need to be able to manipulate # the docstring, and there is no clever way to do that in python 2.2, # as far as I can see - see -# 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 +# 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 def allow_rasterization(draw): diff --git a/lib/matplotlib/bezier.py b/lib/matplotlib/bezier.py index 9aee957b9b00..8400edf6ef7e 100644 --- a/lib/matplotlib/bezier.py +++ b/lib/matplotlib/bezier.py @@ -73,7 +73,7 @@ def get_normal_points(cx, cy, cos_t, sin_t, length): # BEZIER routines # subdividing bezier curve -# http://www.cs.mtu.edu/~shene/COURSES/cs3621/NOTES/spline/Bezier/bezier-sub.html # noqa +# http://www.cs.mtu.edu/~shene/COURSES/cs3621/NOTES/spline/Bezier/bezier-sub.html def _de_casteljau1(beta, t): diff --git a/lib/matplotlib/tests/test_dates.py b/lib/matplotlib/tests/test_dates.py index 00df11e27505..7b847bb0df6d 100644 --- a/lib/matplotlib/tests/test_dates.py +++ b/lib/matplotlib/tests/test_dates.py @@ -25,7 +25,7 @@ def test_date_empty(): # make sure mpl does the right thing when told to plot dates even # if no date data has been presented, cf - # http://sourceforge.net/tracker/?func=detail&aid=2850075&group_id=80706&atid=560720 # noqa + # http://sourceforge.net/tracker/?func=detail&aid=2850075&group_id=80706&atid=560720 fig = plt.figure() ax = fig.add_subplot(1, 1, 1) ax.xaxis_date() @@ -88,7 +88,7 @@ def test_date_axvline(): @cleanup def test_too_many_date_ticks(): # Attempt to test SF 2715172, see - # https://sourceforge.net/tracker/?func=detail&aid=2715172&group_id=80706&atid=560720 # noqa + # https://sourceforge.net/tracker/?func=detail&aid=2715172&group_id=80706&atid=560720 # setting equal datetimes triggers and expander call in # transforms.nonsingular which results in too many ticks in the # DayLocator. This should trigger a Locator.MAXTICKS RuntimeError @@ -202,7 +202,7 @@ def test_drange(): @cleanup def test_empty_date_with_year_formatter(): # exposes sf bug 2861426: - # https://sourceforge.net/tracker/?func=detail&aid=2861426&group_id=80706&atid=560720 # noqa + # https://sourceforge.net/tracker/?func=detail&aid=2861426&group_id=80706&atid=560720 # update: I am no longer believe this is a bug, as I commented on # the tracker. The question is now: what to do with this test diff --git a/lib/mpl_toolkits/axes_grid1/anchored_artists.py b/lib/mpl_toolkits/axes_grid1/anchored_artists.py index 1fa0effc4f74..bfcfeea344a7 100644 --- a/lib/mpl_toolkits/axes_grid1/anchored_artists.py +++ b/lib/mpl_toolkits/axes_grid1/anchored_artists.py @@ -119,7 +119,7 @@ def __init__(self, transform, size, label, loc, >>> import matplotlib.font_manager as fm >>> fontprops = fm.FontProperties(size=14, family='monospace') - >>> 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 + >>> 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) """