Skip to content

Commit 67214e9

Browse files
committed
Use relax type annotation for Color.fromColorScaleValues
1 parent 300024b commit 67214e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Plotly.NET/CommonAbstractions/Colors.fs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
namespace Plotly.NET
22
//http://www.niwa.nu/2013/05/math-behind-colorspace-conversions-rgb-hsl/
33
open Newtonsoft.Json
4+
open System
45

56
module internal Hex =
67

@@ -160,7 +161,7 @@ type Color private(obj:obj) =
160161
Color (unbox c)
161162

162163
/// Values are interpreted relative to color scale
163-
static member fromColorScaleValues (c:seq<System.IConvertible>) =
164+
static member fromColorScaleValues (c:seq<#IConvertible>) =
164165
Color (unbox c)
165166

166167
/// Color from a standard web color keyword, e.g. White -> "white" (see //https://www.w3.org/TR/2011/REC-SVG11-20110816/types.html#ColorKeywords)

0 commit comments

Comments
 (0)