Skip to content

Box: Default stroke width is zero #3741

@Kareltje1980

Description

@Kareltje1980

Issue: Whiskers are not showing in boxplots

ScottPlot Version:
Up until 5.0.26 all is working as expected, but from 5.0.27 onward it does not show.

Code Sample:
I was lazy and just grabbed the code from the website (https://scottplot.net/cookbook/5.0/Box/). Here you can also see that the whiskers are not showing.

ScottPlot.Plot myPlot = new();

ScottPlot.Box box = new()
{
    Position = 5,
    BoxMin = 81,
    BoxMax = 93,
    WhiskerMin = 76,
    WhiskerMax = 107,
    BoxMiddle = 84,
};

myPlot.Add.Box(box);

myPlot.Axes.SetLimits(0, 10, 70, 110);

myPlot.SavePng("demo.png", 400, 300);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions