Skip to content

Commit 96bdf24

Browse files
Bump Plotly.NET and Plotly.NET.ImageExport (#636)
* Bump Plotly.NET and Plotly.NET.ImageExport Bumps [Plotly.NET](https://github.com/plotly/Plotly.NET) and [Plotly.NET.ImageExport](https://github.com/plotly/Plotly.NET). These dependencies needed to be updated together. Updates `Plotly.NET` from 4.2.0 to 5.0.0 - [Release notes](https://github.com/plotly/Plotly.NET/releases) - [Changelog](https://github.com/plotly/Plotly.NET/blob/dev/RELEASE_NOTES.md) - [Commits](plotly/Plotly.NET@4.2.0...5.0.0) Updates `Plotly.NET.ImageExport` from 5.0.1 to 6.1.0 - [Release notes](https://github.com/plotly/Plotly.NET/releases) - [Changelog](https://github.com/plotly/Plotly.NET/blob/dev/RELEASE_NOTES.md) - [Commits](https://github.com/plotly/Plotly.NET/commits) --- updated-dependencies: - dependency-name: Plotly.NET dependency-type: direct:production update-type: version-update:semver-major - dependency-name: Plotly.NET.ImageExport dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * update * revert runner --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent a160e87 commit 96bdf24

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

BitFaster.Caching.HitRateAnalysis/BitFaster.Caching.HitRateAnalysis.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
</PackageReference>
3030
<PackageReference Include="MathNet.Numerics" Version="5.0.0" />
3131
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="9.0.0" />
32-
<PackageReference Include="Plotly.NET.CSharp" Version="0.11.1" />
33-
<PackageReference Include="Plotly.NET.ImageExport" Version="5.0.1" />
32+
<PackageReference Include="Plotly.NET.CSharp" Version="0.13.0" />
33+
<PackageReference Include="Plotly.NET.ImageExport" Version="6.1.0" />
3434
</ItemGroup>
3535

3636
<ItemGroup>

BitFaster.Caching.HitRateAnalysis/PlotExt.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,26 @@ namespace BitFaster.Caching.HitRateAnalysis
88
{
99
public static class PlotExt
1010
{
11-
public static GenericChart.GenericChart WithAxisTitles(this GenericChart.GenericChart chart, string xTitle, string yTitle)
11+
public static GenericChart WithAxisTitles(this GenericChart chart, string xTitle, string yTitle)
1212
{
1313
var font = new FSharpOption<Font>(Font.init(Size: new FSharpOption<double>(16)));
1414
FSharpOption<string> xt = new FSharpOption<string>(xTitle);
1515
FSharpOption<string> yt = new FSharpOption<string>(yTitle);
1616
return chart.WithXAxisStyle(Title.init(xt, Font: font)).WithYAxisStyle(Title.init(yt, Font: font));
1717
}
1818

19-
public static GenericChart.GenericChart WithoutVerticalGridlines(this GenericChart.GenericChart chart)
19+
public static GenericChart WithoutVerticalGridlines(this GenericChart chart)
2020
{
2121
var gridColor = new FSharpOption<Color>(Color.fromKeyword(ColorKeyword.Gainsboro));
22-
var yaxis = LinearAxis.init<IConvertible, IConvertible, IConvertible, IConvertible, IConvertible, IConvertible>(
22+
var yaxis = LinearAxis.init<IConvertible, IConvertible, IConvertible, IConvertible, IConvertible, IConvertible, IConvertible, IConvertible>(
2323
GridColor: gridColor,
2424
ZeroLineColor: gridColor);
2525

26-
var axis = LinearAxis.init<IConvertible, IConvertible, IConvertible, IConvertible, IConvertible, IConvertible>(ShowGrid: new FSharpOption<bool>(false));
26+
var axis = LinearAxis.init<IConvertible, IConvertible, IConvertible, IConvertible, IConvertible, IConvertible, IConvertible, IConvertible>(ShowGrid: new FSharpOption<bool>(false));
2727
return chart.WithXAxis(axis).WithYAxis(yaxis);
2828
}
2929

30-
public static GenericChart.GenericChart WithLayout(this GenericChart.GenericChart chart, string title)
30+
public static GenericChart WithLayout(this GenericChart chart, string title)
3131
{
3232
var font = new FSharpOption<Font>(Font.init(Size: new FSharpOption<double>(24)));
3333
FSharpOption<Title> t = Title.init(Text: title, X: 0.5, Font: font);

BitFaster.Caching.ThroughputAnalysis/BitFaster.Caching.ThroughputAnalysis.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2828
</PackageReference>
2929
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="9.0.0" />
30-
<PackageReference Include="Plotly.NET" Version="4.2.0" />
31-
<PackageReference Include="Plotly.NET.ImageExport" Version="5.0.1" />
30+
<PackageReference Include="Plotly.NET" Version="5.1.0" />
31+
<PackageReference Include="Plotly.NET.ImageExport" Version="6.1.0" />
3232
</ItemGroup>
3333

3434
<ItemGroup>

BitFaster.Caching.ThroughputAnalysis/Exporter.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public void ExportPlot(Mode mode, int cacheSize)
8080
columns.Add(int.Parse(resultTable.Columns[i].ColumnName));
8181
}
8282

83-
List<GenericChart.GenericChart> charts = new List<GenericChart.GenericChart>();
83+
List<GenericChart> charts = new List<GenericChart>();
8484

8585
foreach (DataRow row in resultTable.Rows)
8686
{
@@ -165,26 +165,26 @@ public Color MapColor(string name)
165165

166166
public static class PlotExt
167167
{
168-
public static GenericChart.GenericChart WithAxisTitles(this GenericChart.GenericChart chart, string xTitle, string yTitle)
168+
public static GenericChart WithAxisTitles(this GenericChart chart, string xTitle, string yTitle)
169169
{
170170
var font = new FSharpOption<Font>(Font.init(Size: new FSharpOption<double>(16)));
171171
FSharpOption<string> xt = new FSharpOption<string>(xTitle);
172172
FSharpOption<string> yt = new FSharpOption<string>(yTitle);
173173
return chart.WithXAxisStyle(Title.init(xt, Font: font)).WithYAxisStyle(Title.init(yt, Font: font));
174174
}
175175

176-
public static GenericChart.GenericChart WithoutVerticalGridlines(this GenericChart.GenericChart chart)
176+
public static GenericChart WithoutVerticalGridlines(this GenericChart chart)
177177
{
178178
var gridColor = new FSharpOption<Color>(Color.fromKeyword(ColorKeyword.Gainsboro));
179-
var yaxis = LinearAxis.init<IConvertible, IConvertible, IConvertible, IConvertible, IConvertible, IConvertible>(
179+
var yaxis = LinearAxis.init<IConvertible, IConvertible, IConvertible, IConvertible, IConvertible, IConvertible, IConvertible, IConvertible>(
180180
GridColor: gridColor,
181181
ZeroLineColor: gridColor);
182182

183-
var axis = LinearAxis.init<IConvertible, IConvertible, IConvertible, IConvertible, IConvertible, IConvertible>(ShowGrid: new FSharpOption<bool>(false));
183+
var axis = LinearAxis.init<IConvertible, IConvertible, IConvertible, IConvertible, IConvertible, IConvertible, IConvertible, IConvertible>(ShowGrid: new FSharpOption<bool>(false));
184184
return chart.WithXAxis(axis).WithYAxis(yaxis);
185185
}
186186

187-
public static GenericChart.GenericChart WithLayout(this GenericChart.GenericChart chart, string title)
187+
public static GenericChart WithLayout(this GenericChart chart, string title)
188188
{
189189
var font = new FSharpOption<Font>(Font.init(Size: new FSharpOption<double>(24)));
190190
FSharpOption<Title> t = Title.init(Text: title, X: 0.5, Font: font);

0 commit comments

Comments
 (0)