Bump go-chart dependency (#12)

This commit is contained in:
Phantasylos
2020-06-03 19:03:06 +02:00
committed by GitHub
parent bb4104b438
commit aa28222dea
3 changed files with 3 additions and 5 deletions

View File

@@ -42,7 +42,6 @@ func (p SimplePlotter) Plot(cc clusters.Clusters, iteration int) error {
for i, c := range cc {
series = append(series, chart.ContinuousSeries{
Style: chart.Style{
Show: true,
StrokeWidth: chart.Disabled,
DotColor: colors[i%len(colors)],
DotWidth: 8,
@@ -55,7 +54,6 @@ func (p SimplePlotter) Plot(cc clusters.Clusters, iteration int) error {
// draw cluster center points
series = append(series, chart.ContinuousSeries{
Style: chart.Style{
Show: true,
StrokeWidth: chart.Disabled,
DotColor: drawing.ColorBlack,
DotWidth: 16,
@@ -70,12 +68,10 @@ func (p SimplePlotter) Plot(cc clusters.Clusters, iteration int) error {
Series: series,
XAxis: chart.XAxis{
Style: chart.Style{
Show: true,
},
},
YAxis: chart.YAxis{
Style: chart.Style{
Show: true,
},
},
}