Skip to content

Commit 6636c30

Browse files
committed
remove empty lines after class decl
Signed-off-by: Thomas Hisch <t.hisch@gmail.com>
1 parent 9debab4 commit 6636c30

File tree

7 files changed

+0
-11
lines changed

7 files changed

+0
-11
lines changed

examples/animation/bayes_update.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77

88
class UpdateDist(object):
9-
109
def __init__(self, ax, prob=0.5):
1110
self.success = 0
1211
self.prob = prob

examples/animation/strip_chart_demo.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010

1111
class Scope:
12-
1312
def __init__(self, ax, maxt=2, dt=0.02):
1413
self.ax = ax
1514
self.dt = dt

examples/animation/subplots.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212

1313
class SubplotAnimation(animation.TimedAnimation):
14-
1514
def __init__(self):
1615
fig = plt.figure()
1716
ax1 = fig.add_subplot(1, 2, 1)

examples/api/custom_projection_example.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121

2222
class HammerAxes(Axes):
23-
2423
"""
2524
A custom class for the Aitoff-Hammer projection, an equal-area map
2625
projection.
@@ -286,7 +285,6 @@ def format_coord(self, lon, lat):
286285
return '%f\u00b0%s, %f\u00b0%s' % (abs(lat), ns, abs(lon), ew)
287286

288287
class DegreeFormatter(Formatter):
289-
290288
"""
291289
This is a custom formatter that converts the native unit of
292290
radians into (truncated) degrees and adds a degree symbol.
@@ -386,7 +384,6 @@ def drag_pan(self, button, key, x, y):
386384
# Now, the transforms themselves.
387385

388386
class HammerTransform(Transform):
389-
390387
"""
391388
The base Hammer transform.
392389
"""

examples/api/custom_scale_example.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99

1010
class MercatorLatitudeScale(mscale.ScaleBase):
11-
1211
"""
1312
Scales data in range -pi/2 to pi/2 (-90 to 90 degrees) using
1413
the system used to scale latitudes in a Mercator projection.

examples/api/line_with_text.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111

1212
class MyLine(lines.Line2D):
13-
1413
def __init__(self, *args, **kwargs):
1514
# we'll update the position when the line data is set
1615
self.text = mtext.Text(0, 0, '')

examples/api/skewt.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222

2323
class SkewXTick(maxis.XTick):
24-
2524
def draw(self, renderer):
2625
if not self.get_visible():
2726
return
@@ -52,7 +51,6 @@ def draw(self, renderer):
5251
# This class exists to provide two separate sets of intervals to the tick,
5352
# as well as create instances of the custom tick
5453
class SkewXAxis(maxis.XAxis):
55-
5654
def __init__(self, *args, **kwargs):
5755
maxis.XAxis.__init__(self, *args, **kwargs)
5856
self.upper_interval = 0.0, 1.0
@@ -72,7 +70,6 @@ def get_view_interval(self):
7270
# upper X-axis and draw the spine there. It also provides this range
7371
# to the X-axis artist for ticking and gridlines
7472
class SkewSpine(mspines.Spine):
75-
7673
def _adjust_location(self):
7774
trans = self.axes.transDataToAxes.inverted()
7875
if self.spine_type == 'top':

0 commit comments

Comments
 (0)