GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Boxplot: allow whiskers to always cover entire range · Issue #1455 · matplotlib/matplotlib

Boxplot: allow whiskers to always cover entire range #1455

New issue
Copy link
New issue
Copy link
Closed
Closed
Boxplot: allow whiskers to always cover entire range#1455
Copy link
Labels
New feature
Milestone
v1.4.0

Description

@stefanv
stefanv
opened on Nov 7, 2012
Issue body actions

Sometimes, one needs to have the whiskers of a boxplot cover the entire data range. This is typically achieved by setting whis to a large enough value. However, if the 25-75 percentiles are identical, then the value of whis has no influence, and no whiskers are drawn.

Activity

  1. tacaswell commented on Nov 27, 2013

    @tacaswell
    tacaswell
    on Nov 27, 2013
    Member
    More actions

    @phobson another old boxplot issue that you might want to look at.

  2. phobson commented on Nov 27, 2013

    @phobson
    phobson
    on Nov 27, 2013
    Member
    More actions

    @tacaswell Thanks. Will do.

  3. phobson commented on Dec 3, 2013

    @phobson
    phobson
    on Dec 3, 2013
    Member
    More actions

    @stefanv it just occured to me that you can already accomplish this by setting the whis kwarg to something sufficiently high -- 1e6 should be safe for most real-life datasets ;)

  4. stefanv commented on Dec 3, 2013

    @stefanv
    stefanv
    on Dec 3, 2013
    ContributorAuthor
    More actions

    @phobson Like the bug description states: the value of whis is ignored under certain circumstances.

  5. phobson commented on Dec 3, 2013

    @phobson
    phobson
    on Dec 3, 2013
    Member
    More actions

    Well I certainly missed that part. Apologies.

    But if Q1 == Q3, then Q2 (median) == Q1 == Q3 and I'm not sure how much boxplots are going to tell you.

    That said, I can add some logic in #2643 that if Q1 == Q3, the whisker limits can fall back to 5th/95th percentiles or min/max.

  6. stefanv commented on Dec 3, 2013

    @stefanv
    stefanv
    on Dec 3, 2013
    ContributorAuthor
    More actions

    I think as long as the whiskers do not disappear I'd be quite happy! Thanks for having a look at this @phobson

  7. tacaswell commented on Feb 27, 2014

    @tacaswell
    tacaswell
    on Feb 27, 2014
    Member
    More actions

    @phobson Did this get taken care of by #2643?

  8. phobson commented on Feb 27, 2014

    @phobson
    phobson
    on Feb 27, 2014
    Member
    More actions

    Yes. With the whis kwarg, you can now pass 'range' or a list of
    percentiles.

    On Wed, Feb 26, 2014 at 7:39 PM, Thomas A Caswell
    [email protected]:

    @phobson https://github.com/phobson Did this get taken care of by #2643#2643
    ?

    Reply to this email directly or view it on GitHubhttps://github.com//issues/1455#issuecomment-36207153
    .

  9. tacaswell
    closed this as completedon Feb 27, 2014
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

    New feature

    Type

    No type

    Projects

    No projects

      Milestone

      • v1.4.0

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.