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

Skip to content

Commit 8a7bfd4

Browse files
committed
testing: add test image for hexbin_extent test, disable known failure
svn path=/trunk/matplotlib/; revision=7743
1 parent 80250b7 commit 8a7bfd4

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

31.5 KB
Loading

lib/matplotlib/tests/test_axes.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -341,20 +341,19 @@ def test_axhspan_epoch():
341341
fig.savefig( 'axhspan_epoch' )
342342

343343

344-
#@image_comparison(baseline_images=['hexbin_extent'])
345-
@knownfailureif(True)
344+
@image_comparison(baseline_images=['hexbin_extent'])
346345
def test_hexbin_extent():
347346
# this test exposes sf bug 2856228
348347
fig = plt.figure()
349-
348+
350349
ax = fig.add_subplot(111)
351350
data = np.arange(2000.)/2000.
352351
data.shape = 2, 1000
353352
x, y = data
354353

355354
ax.hexbin(x, y, extent=[.1, .3, .6, .7])
356355
fig.savefig('hexbin_extent')
357-
356+
358357

359358

360359
if __name__=='__main__':

0 commit comments

Comments
 (0)