Skip to content

extra::stats::write_boxplot takes positive sample values only #8451

Description

@dmanescu

The program

extern mod extra;

use extra::stats;

fn main() {
    let s = stats::Summary::new([0.0, 2.0, 3.0]);
    stats::write_boxplot(std::io::stdout(), &s, 100) 
} 

outputs

NaN |[#]                                                                                          | 3

because the choice of upper and lower limits of the boxplot involves log10().

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions