Skip to content

Quiver barb size not correct on some arches (ppc64, ppc64le...) #7797

Closed
@AdamWill

Description

@AdamWill

Continuing to work through test suite failures found when building on the Fedora ppc64 arch (big-endian) but not on little-endian arches. Two failures:

matplotlib.tests.test_quiver.test_barbs.test
matplotlib.tests.test_transforms.test_pre_transform_plotting.test

seem to be caused by differences in the lengths of 'barbs' on 'quivers' - the former is a test specific to such barbs, the latter includes a figure with some barbs as part of a larger test. In both cases, the lengths of the barbs come out subtly differently on ppc64:

barbs_test_image GOT: barbs_test_image
barbs_test_image EXPECTED: barbs_test_image-expected
pre_transform_data GOT: pre_transform_data
pre_transform_data EXPECTED: pre_transform_data-expected

the difference is quite subtle, it helps to A/B the images quickly in an image viewer. AFAICS, in all cases where the lengths are visibly different, the barbs actually produced are slightly shorter than expected.

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