8000 flake8 · matplotlib/matplotlib@05cd23a · GitHub
[go: up one dir, main page]

Skip to content

Commit 05cd23a

Browse files
committed
flake8
1 parent 9f12372 commit 05cd23a

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

lib/matplotlib/patches.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1552,7 +1552,6 @@ def get_angle(self):
15521552
angle = property(get_angle, set_angle)
15531553

15541554

1555-
15561555
class Annulus(Patch):
15571556
"""
15581557
An elliptical annulus.
@@ -1580,11 +1579,11 @@ def __init__(self, xy, r, width, angle=0.0, **kwargs):
15801579
width : float
15811580
Width of the annulus
15821581
angle: float, optional
1583-
Rotation angle in degrees (anti-clockwise). Ignored for circular
1582+
Rotation angle in degrees (anti-clockwise). Ignored for circular
15841583
annuli (ie. if `r` is a scalar).
15851584
15861585
Valid kwargs are:
1587-
1586+
15881587
%(Patch_kwdoc)s
15891588
"""
15901589
Patch.__init__(self, **kwargs)

lib/matplotlib/tests/test_patches.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from numpy.testing import assert_almost_equal, assert_array_equal
66
import pytest
77

8-
from matplotlib.patches import (Annulus, Patch, Polygon, Rectangle,
8+
from matplotlib.patches import (Annulus, Patch, Polygon, Rectangle,
99
FancyArrowPatch)
1010
from matplotlib.testing.decorators import image_comparison, check_figures_equal
1111
from matplotlib.transforms import Bbox
@@ -639,6 +639,3 @@ def test_default_capstyle():
639639
def test_default_joinstyle():
640640
patch = Patch()
641641
assert patch.get_joinstyle() == 'miter'
642-
643-
644-

0 commit comments

Comments
 (0)
0