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

pie takes negative values · Issue #15923 · matplotlib/matplotlib · GitHub

Repository navigation

pie takes negative values  #15923

Closed
Closed

Description

Bug report

Bug summary
Axes.pie accepts negative values which leads to incorrect normalization and
Code for reproduction

# Paste your code here
#
#
fig, ax = plt.subplots()

ax.pie([5, 5, -3], explode=[0, .1, .2])

Actual outcome

Expected outcome

This should raise an exception

Matplotlib version

  • Operating system:
  • Matplotlib version: '3.1.1.post2607+g56905d247'
  • Matplotlib backend (print(matplotlib.get_backend())): Qt4Agg
  • Python version: '3.7.4'

Activity

  1. added this to the v3.3.0 milestone on Dec 12, 2019
  2. Inception95 commented on Dec 13, 2019

    Contributor

    Hi, I am new here. Can I help with this issue if it is not been solved yet? Thanks!

  3. jklymak commented on Dec 14, 2019

    Member

    Yes go for it. See the somewhat daunting: https://matplotlib.org/3.1.1/devel/contributing.html

  4. timhoffm commented on Dec 14, 2019

    Member

    Closed by #15935.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    API: argument checkingValidation of acceptable argument values🌱 Good first issueOpen a pull request against these issues if there are no active ones!

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL