forked from ScottPlot/ScottPlot
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/nuget/src/ScottPlot4/ScottPlot.Wi…
…nForms/System.Drawing.Common-5.0.3
- Loading branch information
Showing
1,246 changed files
with
61,420 additions
and
12,753 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,19 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
name: Report a Bug | ||
about: If you discovered a problem with ScottPlot or its documentation, let us know! | ||
title: '' | ||
labels: 'BUG' | ||
labels: '' | ||
assignees: '' | ||
--- | ||
|
||
## Before submitting bug reports | ||
1. Check if your bug is already addressed in the FAQ: https://scottplot.net/faq | ||
2. Search the issues to see if the bug has already been addressed: https://github.com/ScottPlot/ScottPlot/issues | ||
**Issue:** (Describe the bug here) | ||
|
||
_This header can be deleted before posting_ | ||
**ScottPlot Version:** (What NuGet package are you using?) | ||
|
||
--------------------------------- | ||
|
||
## Bug Report | ||
|
||
**Issue:** (Bug description goes here) | ||
|
||
**Reproducing:** (What do others have to do to reproduce the bug?) | ||
**Code Sample:** See http://scottplot.net/faq/repro/ for tips about creating reproducible code samples | ||
|
||
```cs | ||
// a code sample may improve communication | ||
var examplePlot = new ScottPlot.Plot(); | ||
``` | ||
|
||
### System Details | ||
* **ScottPlot Version:** 4.1.123? | ||
* **Operating System:** (Ubuntu Linux 20.04, Windows 10, MacOS 10.15, etc.) | ||
* **Application Type:** (console, WinForms, WPF, Avalonia, etc) | ||
* **.NET Version:** (NET Framework 4.8? .NET 5.0?) | ||
ScottPlot.Plot myPlot = new(); | ||
/* code to reproduce the bug */ | ||
myPlot.SavePng("bug.png"); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,19 @@ | ||
--- | ||
name: Question about ScottPlot | ||
about: How do I use ScottPlot to... | ||
name: Question | ||
about: We encourage users to ask questions in GitHub Issues so others may benefit from the discussion! | ||
title: '' | ||
labels: 'Question' | ||
labels: '' | ||
assignees: '' | ||
--- | ||
|
||
## Before submitting a question | ||
1. Check if your question is already addressed in: | ||
* The ScottPlot FAQ: https://scottplot.net/faq | ||
* The ScottPlot Cookbook: https://scottplot.net/cookbook | ||
* The ScottPlot Demo: https://scottplot.net/demo | ||
2. Search the issues and discussions to see if the question has already been addressed: | ||
* https://github.com/ScottPlot/ScottPlot/issues | ||
* https://github.com/ScottPlot/ScottPlot/discussions | ||
**Question:** (Ask your question here) | ||
|
||
_This header can be deleted before posting_ | ||
**ScottPlot Version:** (What NuGet package are you using?) | ||
|
||
--------------------------------- | ||
|
||
**ScottPlot Version:** ??? | ||
|
||
**Operating System:** ??? | ||
|
||
**Application Type:** (console, WinForms, WPF, etc...) | ||
|
||
**Question:** Describe your question here | ||
**Code Sample:** See http://scottplot.net/faq/repro/ for tips about creating reproducible code samples | ||
|
||
```cs | ||
// a code sample may improve communication | ||
var examplePlot = new ScottPlot.Plot(); | ||
``` | ||
|
||
Images or screenshots often help communication and are encouraged. You can copy/paste or drag/drop images into this box. | ||
ScottPlot.Plot myPlot = new(); | ||
/* a code sample may improve communication */ | ||
myPlot.SavePng("bug.png"); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,15 @@ | ||
--- | ||
name: Idea / Feature Request | ||
about: Let us know how ScottPlot can be improved | ||
name: Suggestion | ||
about: Have an idea for improving ScottPlot? Create a GitHib issue to share your thoughts! | ||
title: '' | ||
labels: 'Feature' | ||
labels: '' | ||
assignees: '' | ||
--- | ||
|
||
## Feature Suggestion | ||
|
||
**Feature description:** Describe your idea here | ||
|
||
**Code example:** If applicable, use this space to demonstrate how you wish the new feature could be used in code. | ||
**Suggestion:** (Describe your idea here) | ||
|
||
```cs | ||
// a code sample may improve communication | ||
var plt = new ScottPlot.Plot(); | ||
var myMeme = ScottPlot.Memes.ICanHaz("Grafixs"); | ||
plt.Add(myMeme); | ||
plt.SaveFig("myMeme.png"); | ||
ScottPlot.Plot myPlot = new(); | ||
/* a code sample may improve communication */ | ||
myPlot.SavePng("bug.png"); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
**Purpose:** | ||
* Use this space to describe what this pull request accomplishes | ||
* If this PR references an issue be sure to link to it | ||
* Consider including a picture if it would help clarify what this pull request does | ||
* New contributors please review CONTRIBUTING.md in the root folder | ||
Use this space to describe what this pull request accomplishes. | ||
|
||
Refer to open issues by their number to help link them with this pull request. | ||
|
||
Consider including screenshots or code samples if it would help communicate the purpose of this pull request. | ||
|
||
```cs | ||
// You can insert code examples like this | ||
var newThing = new SpecialObject(); | ||
ScottPlot.Plot myPlot = new(); | ||
/* a code sample may improve communication */ | ||
myPlot.SavePng("bug.png"); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
name: ScottPlot 4 Deploy | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
env: | ||
DOTNET_VERSION: "8.0.x" | ||
TEST_PROJECT_FOLDER: "src/ScottPlot4/ScottPlot.Tests/" | ||
|
||
jobs: | ||
deploy: | ||
name: 🚀 Publish ScottPlot4 Packages | ||
runs-on: windows-latest | ||
steps: | ||
- name: 🛒 Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: ✨ Setup .NET ${{ env.DOTNET_VERSION }} | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: ${{ env.DOTNET_VERSION }} | ||
|
||
- name: 🚚 Restore Tests | ||
working-directory: ${{ env.TEST_PROJECT_FOLDER }} | ||
run: dotnet restore | ||
|
||
- name: 🛠️ Build Tests | ||
working-directory: ${{ env.TEST_PROJECT_FOLDER }} | ||
run: dotnet build --configuration Release | ||
|
||
- name: 🧪 Run Tests | ||
working-directory: ${{ env.TEST_PROJECT_FOLDER }} | ||
run: dotnet test --configuration Release --verbosity minimal | ||
|
||
- name: 🛠️ Setup NuGet | ||
uses: nuget/setup-nuget@v1 | ||
with: | ||
nuget-api-key: ${{ secrets.NUGET_API_KEY }} | ||
|
||
- name: 🚀 Deploy ScottPlot | ||
working-directory: "src/ScottPlot4/ScottPlot/" | ||
run: | | ||
dotnet restore | ||
dotnet build --configuration Release | ||
dotnet pack --configuration Release | ||
nuget push .\bin\Release\*.nupkg -SkipDuplicate -Source https://api.nuget.org/v3/index.json | ||
- name: 🚀 Deploy ScottPlot.WinForms | ||
working-directory: "src/ScottPlot4/ScottPlot.WinForms" | ||
run: | | ||
dotnet restore | ||
dotnet build --configuration Release | ||
dotnet pack --configuration Release | ||
nuget push .\bin\Release\*.nupkg -SkipDuplicate -Source https://api.nuget.org/v3/index.json | ||
- name: 🚀 Deploy ScottPlot.WPF | ||
working-directory: "src/ScottPlot4/ScottPlot.WPF" | ||
run: | | ||
dotnet restore | ||
dotnet build --configuration Release | ||
dotnet pack --configuration Release | ||
nuget push .\bin\Release\*.nupkg -SkipDuplicate -Source https://api.nuget.org/v3/index.json | ||
- name: 🚀 Deploy ScottPlot.Avalonia | ||
working-directory: "src/ScottPlot4/ScottPlot.Avalonia" | ||
run: | | ||
dotnet restore | ||
dotnet build --configuration Release | ||
dotnet pack --configuration Release | ||
nuget push .\bin\Release\*.nupkg -SkipDuplicate -Source https://api.nuget.org/v3/index.json | ||
- name: 🚀 Deploy ScottPlot.Eto | ||
working-directory: "src/ScottPlot4/ScottPlot.Eto" | ||
run: | | ||
dotnet restore | ||
dotnet build --configuration Release | ||
dotnet pack --configuration Release | ||
nuget push .\bin\Release\*.nupkg -SkipDuplicate -Source https://api.nuget.org/v3/index.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
name: ScottPlot 5 Deploy | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
env: | ||
DOTNET_VERSION: "8.0.x" | ||
TEST_PROJECT_FOLDER: "src/ScottPlot5/ScottPlot5 Tests/" | ||
ARTIFACT_FOLDER: "artifacts" | ||
|
||
jobs: | ||
deploy: | ||
name: 🚀 Publish ScottPlot5 Packages | ||
runs-on: windows-latest | ||
steps: | ||
- name: 🛒 Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: ✨ Setup .NET ${{ env.DOTNET_VERSION }} | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: ${{ env.DOTNET_VERSION }} | ||
|
||
- name: ✨ Setup Java 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: "microsoft" | ||
java-version: "17" | ||
|
||
- name: 🚚 Restore Tests | ||
working-directory: ${{ env.TEST_PROJECT_FOLDER }} | ||
run: dotnet restore | ||
|
||
- name: 🛠️ Build Tests | ||
working-directory: ${{ env.TEST_PROJECT_FOLDER }} | ||
run: dotnet build --configuration Release | ||
|
||
- name: 🧪 Run Tests | ||
working-directory: ${{ env.TEST_PROJECT_FOLDER }} | ||
run: dotnet test --configuration Release --verbosity minimal | ||
|
||
- name: 📦 Package ScottPlot | ||
env: | ||
PROJECT_FOLDER: "src/ScottPlot5/ScottPlot5" | ||
run: | | ||
dotnet restore "${{ env.PROJECT_FOLDER }}" | ||
dotnet build "${{ env.PROJECT_FOLDER }}" --configuration Release | ||
dotnet pack "${{ env.PROJECT_FOLDER }}" --configuration Release -o "${{ env.ARTIFACT_FOLDER }}" | ||
- name: 📦 Package ScottPlot.WinForms | ||
env: | ||
PROJECT_FOLDER: "src/ScottPlot5/ScottPlot5 Controls/ScottPlot.WinForms" | ||
run: | | ||
dotnet restore "${{ env.PROJECT_FOLDER }}" | ||
dotnet build "${{ env.PROJECT_FOLDER }}" --configuration Release | ||
dotnet pack "${{ env.PROJECT_FOLDER }}" --configuration Release -o "${{ env.ARTIFACT_FOLDER }}" | ||
- name: 📦 Package ScottPlot.WPF | ||
env: | ||
PROJECT_FOLDER: "src/ScottPlot5/ScottPlot5 Controls/ScottPlot.WPF" | ||
run: | | ||
dotnet restore "${{ env.PROJECT_FOLDER }}" | ||
dotnet build "${{ env.PROJECT_FOLDER }}" --configuration Release | ||
dotnet pack "${{ env.PROJECT_FOLDER }}" --configuration Release -o "${{ env.ARTIFACT_FOLDER }}" | ||
- name: 📦 Package ScottPlot.Avalonia | ||
env: | ||
PROJECT_FOLDER: "src/ScottPlot5/ScottPlot5 Controls/ScottPlot.Avalonia" | ||
run: | | ||
dotnet restore "${{ env.PROJECT_FOLDER }}" | ||
dotnet build "${{ env.PROJECT_FOLDER }}" --configuration Release | ||
dotnet pack "${{ env.PROJECT_FOLDER }}" --configuration Release -o "${{ env.ARTIFACT_FOLDER }}" | ||
- name: 📦 Package ScottPlot.Eto | ||
env: | ||
PROJECT_FOLDER: "src/ScottPlot5/ScottPlot5 Controls/ScottPlot.Eto" | ||
run: | | ||
dotnet restore "${{ env.PROJECT_FOLDER }}" | ||
dotnet build "${{ env.PROJECT_FOLDER }}" --configuration Release | ||
dotnet pack "${{ env.PROJECT_FOLDER }}" --configuration Release -o "${{ env.ARTIFACT_FOLDER }}" | ||
- name: 📦 Package ScottPlot.WinUI | ||
env: | ||
PROJECT_FOLDER: "src/ScottPlot5/ScottPlot5 Controls/ScottPlot.WinUI" | ||
run: | | ||
dotnet restore "${{ env.PROJECT_FOLDER }}" | ||
dotnet build "${{ env.PROJECT_FOLDER }}" --configuration Release | ||
dotnet pack "${{ env.PROJECT_FOLDER }}" --configuration Release -o "${{ env.ARTIFACT_FOLDER }}" | ||
- name: 📦 Package ScottPlot.Blazor | ||
env: | ||
PROJECT_FOLDER: "src/ScottPlot5/ScottPlot5 Controls/ScottPlot.Blazor" | ||
run: | | ||
dotnet restore "${{ env.PROJECT_FOLDER }}" | ||
dotnet build "${{ env.PROJECT_FOLDER }}" --configuration Release | ||
dotnet pack "${{ env.PROJECT_FOLDER }}" --configuration Release -o "${{ env.ARTIFACT_FOLDER }}" | ||
- name: 🚀 Upload Artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: "ScottPlot" | ||
path: ${{ env.ARTIFACT_FOLDER }} | ||
if-no-files-found: error | ||
retention-days: 1 | ||
overwrite: true | ||
|
||
- name: 🛠️ Setup NuGet | ||
uses: nuget/setup-nuget@v2 | ||
with: | ||
nuget-api-key: ${{ secrets.NUGET_API_KEY }} | ||
|
||
- name: 🚀 Deploy Packages | ||
run: nuget push "${{ env.ARTIFACT_FOLDER }}\*.nupkg" -SkipDuplicate -Source https://api.nuget.org/v3/index.json |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.