Skip to content

Commit 9a34c85

Browse files
committed
fix #154
1 parent a2e59a4 commit 9a34c85

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/Plotly.NET/CommonAbstractions/StyleParams.fs

+5-7
Original file line numberDiff line numberDiff line change
@@ -247,14 +247,12 @@ module StyleParam =
247247
| True
248248
| False
249249
| SD
250-
251-
static member toString = function
252-
| True -> "true"
253-
| False -> "false"
254-
| SD -> "SD"
255250

256-
static member convert = BoxMean.toString >> box
257-
override this.ToString() = this |> BoxMean.toString
251+
static member convert = function
252+
| True -> box true
253+
| False -> box false
254+
| SD -> box "sd"
255+
258256
member this.Convert() = this |> BoxMean.convert
259257

260258
/// For bar and histogram plots only. This sets how multiple bar objects are plotted together. In other words, this defines how bars at the same location

0 commit comments

Comments
 (0)