Example #1
0
def test_create_PlotBlock_with_bbox_inches_none():
    f = plt.figure()
    b = i.PlotBlock(f, bbox_inches=None)
    assert len(b._img_data) > 0
    assert b._mime_type == 'png'
Example #2
0
def test_create_PlotBlock():
    f = plt.figure()
    b = i.PlotBlock(f)
    assert len(b._img_data) > 0
    assert b._mime_type == 'png'