Skip to content

test_streamplot:test_colormap test broke unintentionally #5549

@mdboom

Description

@mdboom

In #5307, where I am lowering our testing tolerance down to zero, I am discovering a few recent changes that slipped through because the tolerance on our tests was too high.

This issue is the last of this type that I've found!

git bisect points to ba7bc0a as being the first bad commit.

BASELINE:

streamplot_colormap_test_image-expected

ACTUAL OUTPUT:

streamplot_colormap_test_image

TEST CODE:

@image_comparison(baseline_images=['streamplot_colormap_test_image'])
def test_colormap():
    X, Y, U, V = velocity_field()
    plt.streamplot(X, Y, U, V, color=U, density=0.6, linewidth=2,
                   cmap=plt.cm.autumn)
    plt.colorbar()

Cc: @efiring, Any thoughts? Replacing the baseline with the new image is a reasonable solution, perhaps, in this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions