Skip to content

Commit

Permalink
chore(benchmark): modify plot bar width
Browse files Browse the repository at this point in the history
  • Loading branch information
Inseon Yu(Merlyn) committed Oct 17, 2023
1 parent 166b80c commit 310580a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/simple_benchmark_reporter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ void SimpleBenchmarkReporter::Show() {
py::scoped_interpreter guard{};
auto plt = pyplot::import();

constexpr double kBarWidth = 0.25;
const double kBarWidth = 1.0 / (results_[0].size() + 1);

std::vector<size_t> x_positions =
base::CreateRangedVector(static_cast<size_t>(0), targets_.size());
Expand Down

0 comments on commit 310580a

Please sign in to comment.