mirror of
https://github.com/muesli/kmeans.git
synced 2025-10-05 07:36:51 +08:00
Bump go-chart dependency (#12)
This commit is contained in:
@@ -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,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user