Skip to content

Commit

Permalink
change Mabox to Mapbox in GenericChartExtensions, 2 uses in CSharpCon…
Browse files Browse the repository at this point in the history
…sole tests, 2 RELEASE_NOTES.md
  • Loading branch information
hdavid333 committed Jun 7, 2023
1 parent 2f94e87 commit 963921c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Plotly.NET.CSharp/GenericChartExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ public static GenericChart.GenericChart WithYAxisStyle<MinType, MaxType, Categor
/// <param name="gChart">The chart in which to change the mapbox</param>
/// <param name="mapbox">The Mapbox to set on the chart's layout</param>
/// <param name="Id">The target mapbox id on which the Mapbox should be set. Default is 1.</param>
public static GenericChart.GenericChart WithMabox(
public static GenericChart.GenericChart WithMapbox(
this GenericChart.GenericChart gChart,
Mapbox mapbox,
Optional<int> Id = default
Expand All @@ -324,7 +324,7 @@ public static GenericChart.GenericChart WithMabox(
/// <param name="Pitch">Sets the pitch angle of the map (in degrees, where "0" means perpendicular to the surface of the map) (mapbox.pitch).</param>
/// <param name="Layers">Sets the layers of this Mapbox</param>
/// <param name="Id">The target mapbox id</param>
public static GenericChart.GenericChart WithMaboxStyle(
public static GenericChart.GenericChart WithMapboxStyle(
this GenericChart.GenericChart gChart,
Optional<Domain> Domain = default,
Optional<string> AccessToken = default,
Expand Down
4 changes: 2 additions & 2 deletions src/Plotly.NET.CSharp/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ added C# bindings for statistical charts
Optional arguments are now wrapped in a custom `Optional<T>` 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

Expand Down
4 changes: 2 additions & 2 deletions tests/Plotly.NET.Tests.CSharpConsole/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ static void Main(string[] args)
Name: "bubblemapbox"
),
}
).WithMaboxStyle(
).WithMapboxStyle(
Style: MapboxStyle.OpenStreetMap,
Id: 38
).WithTraceInfo(
Expand All @@ -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(
Expand Down

0 comments on commit 963921c

Please sign in to comment.