The Left Ventricle bullseye example has an unexpected output in which the area shaded is not aligned with the border. This is not the case in the 3.1.1 docs.
I managed to "fix" the sample code for my use but I feel there is a bug related to the functions used in the example. I'm not too familiar with the APIs and the data projection to polar coordinates so I feel it's better for someone more familiar to explain what happened here.
My guess is shading='auto' was introduced there, which most likely selects nearest based on the outcome of the figures. It should use flat, but just changing to flat leads to:
TypeError: Dimensions of C (128, 2) are incompatible with X (2) and/or Y (128); see help(pcolormesh)
Activity
oscargus commented on Dec 19, 2022
This seems to have changed between 3.2 and 3.3.
My guess is shading='auto' was introduced there, which most likely selects nearest based on the outcome of the figures. It should use flat, but just changing to flat leads to: