Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gucio321 committed Jun 25, 2024
1 parent d88ad85 commit 8415b2c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Plot.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ type (
)

const (
AxisX1 = PlotXAxis(imgui.AxisX1)
AxisX2 = PlotXAxis(imgui.AxisX2)
AxisX3 = PlotXAxis(imgui.AxisX3)
AxisY1 = PlotYAxis(imgui.AxisY1)
AxisY2 = PlotYAxis(imgui.AxisY2)
AxisY3 = PlotYAxis(imgui.AxisY3)
AxisX1 = imgui.AxisX1
AxisX2 = imgui.AxisX2
AxisX3 = imgui.AxisX3
AxisY1 = imgui.AxisY1
AxisY2 = imgui.AxisY2
AxisY3 = imgui.AxisY3
)

// PlotWidget is implemented by all the particular plots, which can be used
Expand Down Expand Up @@ -288,7 +288,7 @@ func (p *PlotCanvasWidget) Build() {

func SwitchPlotAxes(x PlotXAxis, y PlotYAxis) PlotWidget {
return Custom(func() {
imgui.PlotSetAxes(imgui.PlotAxisEnum(x), imgui.PlotAxisEnum(y))
imgui.PlotSetAxes(x, y)
})
}

Expand Down

0 comments on commit 8415b2c

Please sign in to comment.