Skip to content

Commit b9fc7cd

Browse files
authored
Merge pull request #389 from hdavid333/dev-edits-to-GenericChartExtensions-cs
change Mabox to Mapbox in GenericChartExtensions, 2 uses in CSharpConsole tests, 2 RELEASE_NOTES.md
2 parents 2f94e87 + 963921c commit b9fc7cd

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/Plotly.NET.CSharp/GenericChartExtensions.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ public static GenericChart.GenericChart WithYAxisStyle<MinType, MaxType, Categor
298298
/// <param name="gChart">The chart in which to change the mapbox</param>
299299
/// <param name="mapbox">The Mapbox to set on the chart's layout</param>
300300
/// <param name="Id">The target mapbox id on which the Mapbox should be set. Default is 1.</param>
301-
public static GenericChart.GenericChart WithMabox(
301+
public static GenericChart.GenericChart WithMapbox(
302302
this GenericChart.GenericChart gChart,
303303
Mapbox mapbox,
304304
Optional<int> Id = default
@@ -324,7 +324,7 @@ public static GenericChart.GenericChart WithMabox(
324324
/// <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>
325325
/// <param name="Layers">Sets the layers of this Mapbox</param>
326326
/// <param name="Id">The target mapbox id</param>
327-
public static GenericChart.GenericChart WithMaboxStyle(
327+
public static GenericChart.GenericChart WithMapboxStyle(
328328
this GenericChart.GenericChart gChart,
329329
Optional<Domain> Domain = default,
330330
Optional<string> AccessToken = default,

src/Plotly.NET.CSharp/RELEASE_NOTES.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ added C# bindings for statistical charts
133133
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.
134134

135135
Some GenericChart extension methods were also added:
136-
- WithMabox
137-
- WithMaboxStyle
136+
- WithMapbox
137+
- WithMapboxStyle
138138

139139
### 0.0.1 - June 15 2022
140140

tests/Plotly.NET.Tests.CSharpConsole/Program.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ static void Main(string[] args)
520520
Name: "bubblemapbox"
521521
),
522522
}
523-
).WithMaboxStyle(
523+
).WithMapboxStyle(
524524
Style: MapboxStyle.OpenStreetMap,
525525
Id: 38
526526
).WithTraceInfo(
@@ -531,7 +531,7 @@ static void Main(string[] args)
531531
longitudes: new int [] { 1,2,2,2,3,4,5,5 },
532532
latitudes: new int [] { 1,2,2,2,3,4,5,5 },
533533
ShowScale: false
534-
).WithMaboxStyle(
534+
).WithMapboxStyle(
535535
Style: MapboxStyle.OpenStreetMap,
536536
Id: 39
537537
).WithTraceInfo(

0 commit comments

Comments
 (0)