Skip to content

ScatterPlot: Fix YError data limit bug#1238

Merged
swharden merged 3 commits intoScottPlot:masterfrom
simmdan:master
Sep 3, 2021
Merged

ScatterPlot: Fix YError data limit bug#1238
swharden merged 3 commits intoScottPlot:masterfrom
simmdan:master

Conversation

@simmdan
Copy link
Contributor

@simmdan simmdan commented Sep 3, 2021

Purpose:
Fixes bug #1237.

New Functionality:
It appears that there was a copy/paste from the XError to the YError section of the GetAxisLimits method on ScatterPlot. Some of the code was fixed to have y instead of x, but one case was missed.

Test that illustrates the issue (if the other change is backed out) is included in this PR.

@swharden swharden changed the title add test and fix ArgumentNullException bug when setting YError data but NOT setting XError data ScatterPlot: Fix YError data limit bug Sep 3, 2021
@swharden swharden merged commit 1c16cf8 into ScottPlot:master Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scatter Plot: ArgumentNullException when YError is set but XError is null

2 participants