Skip to content

Commit

Permalink
3.0.8: update nimetry
Browse files Browse the repository at this point in the history
  • Loading branch information
disruptek committed Nov 16, 2019
1 parent 01e6866 commit e7311a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions golden.nimble
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
version = "3.0.7"
version = "3.0.8"
author = "disruptek"
description = "a benchmark tool"
license = "MIT"
requires "nim >= 0.20.0"

requires "foreach >= 1.0.2"
requires "bump >= 1.8.11"
requires "nimetry#1db37f9508bfbd9ee2bde2e1485c5d0026fea5b4"
requires "nimetry >= 0.4.0"
#requires "plotly >= 0.1.0"
requires "msgpack4nim 0.2.9"
requires "terminaltables#82ee5890c13e381de0f11c8ba6fe484d7c0c2f19"
Expand Down
4 changes: 2 additions & 2 deletions src/golden/plot.nim
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ proc consolePlot*(stat: RunningStat; histogram: seq[int];
## create a simple plot for display on the console via kitty
result = createTemporaryFile("-image", ".png")
var
data: Dataset
data: seq[XY]
p: Plot = newPlot(1600, 1600)

# use this to rescale small values
Expand All @@ -28,5 +28,5 @@ proc consolePlot*(stat: RunningStat; histogram: seq[int];
data.add (m * (stat.min.float + (class.float * dimensions.size)), value.float)
p.setTitle("benchmark")
p.setFontTtf("fonts/Vera.ttf") # sorry!
p.addGraph(data, Line, rgba(0, 0, 255, 255))
p.addPlot(data, Line, rgba(0, 0, 255, 255))
p.save(result)

0 comments on commit e7311a1

Please sign in to comment.