Skip to content

Commit

Permalink
tools/rw-heatmaps: fix goimports warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Valdes <[email protected]>
  • Loading branch information
ivanvc committed Feb 1, 2024
1 parent 8d65374 commit 61ca23b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions tools/rw-heatmaps/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (

"github.com/spf13/cobra"
"github.com/spf13/pflag"

"go.etcd.io/etcd/v3/tools/rw-heatmaps/pkg/chart"
"go.etcd.io/etcd/v3/tools/rw-heatmaps/pkg/dataset"
)
Expand Down
3 changes: 2 additions & 1 deletion tools/rw-heatmaps/pkg/chart/heatmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ import (
"math"
"sort"

"go.etcd.io/etcd/v3/tools/rw-heatmaps/pkg/dataset"
"gonum.org/v1/plot"
"gonum.org/v1/plot/palette"
"gonum.org/v1/plot/palette/brewer"
"gonum.org/v1/plot/plotter"

"go.etcd.io/etcd/v3/tools/rw-heatmaps/pkg/dataset"
)

// pow2Ticks is a type that implements the plot.Ticker interface for log2 scale.
Expand Down
3 changes: 2 additions & 1 deletion tools/rw-heatmaps/pkg/chart/heatmaps.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ import (
"os"
"strings"

"go.etcd.io/etcd/v3/tools/rw-heatmaps/pkg/dataset"
"gonum.org/v1/plot"
"gonum.org/v1/plot/vg"
"gonum.org/v1/plot/vg/draw"
"gonum.org/v1/plot/vg/vgimg"

"go.etcd.io/etcd/v3/tools/rw-heatmaps/pkg/dataset"
)

// PlotHeatMaps plots, and saves the heatmaps for the given dataset.
Expand Down

0 comments on commit 61ca23b

Please sign in to comment.