Skip to content

Commit

Permalink
Update example dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
waacton committed Jul 21, 2024
1 parent 0b42eb3 commit 69f218c
Show file tree
Hide file tree
Showing 20 changed files with 26 additions and 22 deletions.
2 changes: 1 addition & 1 deletion Example.Console/Example.Console.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Spectre.Console" Version="0.48.0" />
<PackageReference Include="Spectre.Console" Version="0.49.1" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Example.Diagrams/Example.Diagrams.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ScottPlot" Version="5.0.25" />
<PackageReference Include="ScottPlot" Version="5.0.36" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Example.Diagrams/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using ScottPlot;
using ScottPlot.Plottables;
using ScottPlot.Primitives;
using Wacton.Unicolour.Example.Diagrams;

const string outputDirectory = "../../../../Unicolour.Readme/docs/";
Expand Down Expand Up @@ -51,7 +50,8 @@ void SpectralLocus()
var marker = new Marker
{
X = colour.Chromaticity.X,
Y = colour.Chromaticity.Y,
Y = colour.Chromaticity.Y,
Shape = MarkerShape.FilledCircle,
Color = Utils.GetPlotColour(chromaticity)!.Value,
Size = 5f
};
Expand Down
12 changes: 8 additions & 4 deletions Example.Diagrams/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@ internal static List<Marker> GetXyFillMarkers((double min, double max) rangeX, (

var markerStyle = new MarkerStyle
{
Fill = new FillStyle { Color = color.Value },
Outline = new LineStyle { Color = Colors.Transparent, Width = 0f },
Shape = MarkerShape.FilledCircle,
FillColor = color.Value,
OutlineColor = Colors.Transparent,
OutlineWidth = 0f,
Size = 1.5f
};

Expand All @@ -97,8 +99,10 @@ internal static List<Marker> GetUvFillMarkers((double min, double max) rangeU, (

var markerStyle = new MarkerStyle
{
Fill = new FillStyle { Color = color.Value },
Outline = new LineStyle { Color = Colors.Transparent, Width = 0f },
Shape = MarkerShape.FilledCircle,
FillColor = color.Value,
OutlineColor = Colors.Transparent,
OutlineWidth = 0f,
Size = 2f
};

Expand Down
2 changes: 1 addition & 1 deletion Example.Gradients/Example.Gradients.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<ItemGroup>
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.4" />
<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="2.1.2" />
<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="2.1.3" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Example.Heatmaps/Example.Heatmaps.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<ItemGroup>
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.4" />
<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="2.1.2" />
<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="2.1.3" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ Targets [.NET Standard 2.0](https://docs.microsoft.com/en-us/dotnet/standard/net

See a [live demo in the browser](https://unicolour.wacton.xyz/colour-picker/) — a colour picker for any colour space — made with Unicolour.

> 🦺
> Currently [under development](https://github.com/waacton/Unicolour/tree/icc):
> CMYK colour conversion using ICC profiles
> **🦺 Currently under development:**
>
> - CMYK colour conversion using ICC profiles _([branch](https://github.com/waacton/Unicolour/tree/icc))_
**Contents**
1. 🧭 [Overview](#-overview)
Expand Down
6 changes: 3 additions & 3 deletions Unicolour.Readme/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ Targets [.NET Standard 2.0](https://docs.microsoft.com/en-us/dotnet/standard/net

See a [live demo in the browser](https://unicolour.wacton.xyz/colour-picker/) — a colour picker for any colour space — made with Unicolour.

> 🦺
> Currently [under development](https://github.com/waacton/Unicolour/tree/icc):
> CMYK colour conversion using ICC profiles
> **🦺 Currently under development:**
>
> - CMYK colour conversion using ICC profiles _([branch](https://github.com/waacton/Unicolour/tree/icc))_
**Contents**
1. 🧭 [Overview](#-overview)
Expand Down
Binary file modified Unicolour.Readme/docs/diagram-spectral-locus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Unicolour.Readme/docs/diagram-uv-chromaticity-blackbody.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Unicolour.Readme/docs/diagram-uv-chromaticity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Unicolour.Readme/docs/diagram-xy-chromaticity-blackbody.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Unicolour.Readme/docs/diagram-xy-chromaticity-rgb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ Targets [.NET Standard 2.0](https://docs.microsoft.com/en-us/dotnet/standard/net

See a [live demo in the browser](https://unicolour.wacton.xyz/colour-picker/) — a colour picker for any colour space — made with Unicolour.

> 🦺
> Currently [under development](https://github.com/waacton/Unicolour/tree/icc):
> CMYK colour conversion using ICC profiles
> **🦺 Currently under development:**
>
> - CMYK colour conversion using ICC profiles _([branch](https://github.com/waacton/Unicolour/tree/icc))_
**Contents**
1. 🧭 [Overview](#-overview)
Expand Down
6 changes: 3 additions & 3 deletions docs/README_us.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ Targets [.NET Standard 2.0](https://docs.microsoft.com/en-us/dotnet/standard/net

See a [live demo in the browser](https://unicolour.wacton.xyz/colour-picker/) — a color picker for any color space — made with Unicolour.

> 🦺
> Currently [under development](https://github.com/waacton/Unicolour/tree/icc):
> CMYK color conversion using ICC profiles
> **🦺 Currently under development:**
>
> - CMYK color conversion using ICC profiles _([branch](https://github.com/waacton/Unicolour/tree/icc))_
**Contents**
1. 🧭 [Overview](#-overview)
Expand Down
Binary file modified docs/diagram-spectral-locus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/diagram-uv-chromaticity-blackbody.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/diagram-uv-chromaticity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/diagram-xy-chromaticity-blackbody.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/diagram-xy-chromaticity-rgb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 69f218c

Please sign in to comment.