From 963921c68787e1368ebf79b41810024ec77c0006 Mon Sep 17 00:00:00 2001 From: David Handschke Date: Wed, 7 Jun 2023 12:11:10 -0500 Subject: [PATCH] change Mabox to Mapbox in GenericChartExtensions, 2 uses in CSharpConsole tests, 2 RELEASE_NOTES.md --- src/Plotly.NET.CSharp/GenericChartExtensions.cs | 4 ++-- src/Plotly.NET.CSharp/RELEASE_NOTES.md | 4 ++-- tests/Plotly.NET.Tests.CSharpConsole/Program.cs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Plotly.NET.CSharp/GenericChartExtensions.cs b/src/Plotly.NET.CSharp/GenericChartExtensions.cs index e7af7cac4..f399db190 100644 --- a/src/Plotly.NET.CSharp/GenericChartExtensions.cs +++ b/src/Plotly.NET.CSharp/GenericChartExtensions.cs @@ -298,7 +298,7 @@ public static GenericChart.GenericChart WithYAxisStyleThe chart in which to change the mapbox /// The Mapbox to set on the chart's layout /// The target mapbox id on which the Mapbox should be set. Default is 1. - public static GenericChart.GenericChart WithMabox( + public static GenericChart.GenericChart WithMapbox( this GenericChart.GenericChart gChart, Mapbox mapbox, Optional Id = default @@ -324,7 +324,7 @@ public static GenericChart.GenericChart WithMabox( /// Sets the pitch angle of the map (in degrees, where "0" means perpendicular to the surface of the map) (mapbox.pitch). /// Sets the layers of this Mapbox /// The target mapbox id - public static GenericChart.GenericChart WithMaboxStyle( + public static GenericChart.GenericChart WithMapboxStyle( this GenericChart.GenericChart gChart, Optional Domain = default, Optional AccessToken = default, diff --git a/src/Plotly.NET.CSharp/RELEASE_NOTES.md b/src/Plotly.NET.CSharp/RELEASE_NOTES.md index 06e543541..6adac3c02 100644 --- a/src/Plotly.NET.CSharp/RELEASE_NOTES.md +++ b/src/Plotly.NET.CSharp/RELEASE_NOTES.md @@ -133,8 +133,8 @@ added C# bindings for statistical charts Optional arguments are now wrapped in a custom `Optional` type to allow usage of both reference and value types for optional arguments across the whole API. Some GenericChart extension methods were also added: -- WithMabox -- WithMaboxStyle +- WithMapbox +- WithMapboxStyle ### 0.0.1 - June 15 2022 diff --git a/tests/Plotly.NET.Tests.CSharpConsole/Program.cs b/tests/Plotly.NET.Tests.CSharpConsole/Program.cs index 6a8fc62f8..d5134212f 100644 --- a/tests/Plotly.NET.Tests.CSharpConsole/Program.cs +++ b/tests/Plotly.NET.Tests.CSharpConsole/Program.cs @@ -520,7 +520,7 @@ static void Main(string[] args) Name: "bubblemapbox" ), } - ).WithMaboxStyle( + ).WithMapboxStyle( Style: MapboxStyle.OpenStreetMap, Id: 38 ).WithTraceInfo( @@ -531,7 +531,7 @@ static void Main(string[] args) longitudes: new int [] { 1,2,2,2,3,4,5,5 }, latitudes: new int [] { 1,2,2,2,3,4,5,5 }, ShowScale: false - ).WithMaboxStyle( + ).WithMapboxStyle( Style: MapboxStyle.OpenStreetMap, Id: 39 ).WithTraceInfo(