Skip to content

4.0.x Fixes crash with ScatterPlots containing a single point#949

Merged
swharden merged 2 commits intoScottPlot:4.0-stablefrom
bclehmann:fix-single-point-line
Apr 10, 2021
Merged

4.0.x Fixes crash with ScatterPlots containing a single point#949
swharden merged 2 commits intoScottPlot:4.0-stablefrom
bclehmann:fix-single-point-line

Conversation

@bclehmann
Copy link
Member

New Contributors:
please review CONTRIBUTING.md

Purpose:
#948

I don't know how you feel about backporting fixes to 4.0.x right now, I guess it depends on how soon you plan to release 4.1. In my opinion, even if you released 4.1.0 tomorrow trivial fixes like this should continue for at least a little while because 4.0 -> 4.1 does entail a sizeable number of breaking changes, even if many of them can be alleviated by search and replace. This is made easier by the fact that 4.0.48 seems pretty stable, so it shouldn't be too difficult to maintain.

The only difficulty is that 4.0.x and 4.1.x have different directory structures and the solution file has a different name. Which means you have to close Visual Studio and normally run git clean -df and sometimes git reset --hard when switching between the branches. I think this is supposed to be what git worktrees are for but I've never used them. Regardless, more an annoyance than anything else.

New Functionality:
N/A

@bclehmann
Copy link
Member Author

I ran dotnet-format locally so I'm unsure what the issue is :(

@StendProg
Copy link
Contributor

I ran dotnet-format locally so I'm unsure what the issue is :(

The reason is that the 4.0 branch does not contain this fix 08812ef.

@swharden
Copy link
Member

Hi @bclehmann, thanks for this fix!

I don't know how you feel about backporting fixes to 4.0.x right now

I'm happy to continue to maintain 4.0 to make small changes that fix bugs (though I don't intend to add new features there).

My plan is to merge this is now but not release a new 4.0 package yet. I'll get 4.1 released, then add a pop-up NuGet readme to the 4.0 branch informing people about 4.1, directing people to the FAQ/cookbook, etc., and then upload that package

@swharden swharden mentioned this pull request Apr 10, 2021
48 tasks
@swharden swharden merged commit 5f6ea6c into ScottPlot:4.0-stable Apr 10, 2021
@swharden swharden mentioned this pull request May 17, 2021
82 tasks
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.

3 participants