8000 address comments from pelson · matplotlib/matplotlib@ce24180 · GitHub
[go: up one dir, main page]

Skip to content

Commit ce24180

Browse files
committed
address comments from pelson
1 parent 1391d88 commit ce24180

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/matplotlib/tests/test_bbox_tight.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
import matplotlib.pyplot as plt
44
import numpy as np
55

6-
@image_comparison(baseline_images = ['bbox_inches_tight'], remove_text=True,
7-
freetype_version = '2.4.10',
8-
savefig_kwarg = dict(bbox_inches='tight'))
6+
@image_comparison(baseline_images=['bbox_inches_tight'], remove_text=True,
7+
savefig_kwarg=dict(bbox_inches='tight'))
98
def test_bbox_inches_tight():
109
"Test that a figure saved using bbox_inches'tight' is clipped right"
1110
rcParams.update(rcParamsDefault)
@@ -23,7 +22,8 @@ def test_bbox_inches_tight():
2322
ind = np.arange(len(colLabels)) + 0.3 # the x locations for the groups
2423
cellText = []
2524
width = 0.4 # the width of the bars
26-
yoff = np.array([0.0] * len(colLabels)) # the bottom values for stacked bar chart
25+
yoff = np.array([0.0] * len(colLabels))
26+
# the bottom values for stacked bar chart
2727
fig, ax = plt.subplots(1,1)
2828
for row in xrange(rows):
2929
plt.bar(ind, data[row], width, bottom=yoff)

0 commit comments

Comments
 (0)
0