Skip to content

Commit ef4d1b2

Browse files
committed
Remove F# 6 implicit casts (will add after move to.NET 6)
1 parent 2debc2a commit ef4d1b2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Plotly.NET/Templates/ChartTemplates.fs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ module ChartTemplates =
284284
XAxis = LinearAxis.init(
285285
BackgroundColor = Color.fromHex "#E5ECF6",
286286
GridColor = Color.fromKeyword White,
287-
GridWidth = 2,
287+
GridWidth = 2.,
288288
LineColor = Color.fromKeyword White,
289289
ShowBackground = true,
290290
Ticks = StyleParam.TickOptions.Empty,
@@ -293,7 +293,7 @@ module ChartTemplates =
293293
YAxis = LinearAxis.init(
294294
BackgroundColor = Color.fromHex "#E5ECF6",
295295
GridColor = Color.fromKeyword White,
296-
GridWidth = 2,
296+
GridWidth = 2.,
297297
LineColor = Color.fromKeyword White,
298298
ShowBackground = true,
299299
Ticks = StyleParam.TickOptions.Empty,
@@ -302,7 +302,7 @@ module ChartTemplates =
302302
ZAxis = LinearAxis.init(
303303
BackgroundColor = Color.fromHex "#E5ECF6",
304304
GridColor = Color.fromKeyword White,
305-
GridWidth = 2,
305+
GridWidth = 2.,
306306
LineColor = Color.fromKeyword White,
307307
ShowBackground = true,
308308
Ticks = StyleParam.TickOptions.Empty,
@@ -340,7 +340,7 @@ module ChartTemplates =
340340
Ticks = StyleParam.TickOptions.Empty,
341341
Title = Title.init(Standoff = 15),
342342
ZeroLineColor = Color.fromKeyword White,
343-
ZeroLineWidth = 2
343+
ZeroLineWidth = 2.
344344
)
345345
)
346346
|> Layout.UpdateLinearAxisById(
@@ -352,7 +352,7 @@ module ChartTemplates =
352352
Ticks = StyleParam.TickOptions.Empty,
353353
Title = Title.init(Standoff = 15),
354354
ZeroLineColor = Color.fromKeyword White,
355-
ZeroLineWidth = 2
355+
ZeroLineWidth = 2.
356356
)
357357
)
358358
|> fun l ->

0 commit comments

Comments
 (0)