FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[Doc]: Left Ventricle Bullseye example unexpected output regression · Issue #24771 · matplotlib/matplotlib · GitHub

Repository navigation

[Doc]: Left Ventricle Bullseye example unexpected output regression #24771

Closed

Description

Documentation Link

https://matplotlib.org/stable/gallery/specialty_plots/leftventricle_bulleye.html

Problem

https://github.com/matplotlib/matplotlib/blob/ecf6e26f0b0241bdc80466e13ee0c13a0c12f412/examples/specialty_plots/leftventricle_bulleye.py

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.


Current Doc output.


3.1.1 doc output. https://matplotlib.org/3.1.1/gallery/specialty_plots/leftventricle_bulleye.html

Suggested improvement

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.

Might be related to this issue too: #16029

Activity

  1. changed the title [-][Doc]: [/-] [+][Doc]: Left Ventricle Bullseye example unexpected output regression[/+] on Dec 19, 2022
  2. oscargus commented on Dec 19, 2022

    Member

    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:

    TypeError: Dimensions of C (128, 2) are incompatible with X (2) and/or Y (128); see help(pcolormesh)
    
  3. added this to the v3.6-doc milestone on Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL