Skip to content

Commit

Permalink
added plotter_config back to the generate_plot_parameters_t structure
Browse files Browse the repository at this point in the history
  • Loading branch information
JPenuchot committed Jul 25, 2023
1 parent 7703a5e commit d9dc85c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion grapher/lib/grapher/plotters/compare_by.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ struct generate_plot_parameters_t {
bool draw_points;
bool draw_median;
bool demangle;
grapher::json_t const &plotter_config;
};

// =============================================================================
Expand Down Expand Up @@ -229,7 +230,8 @@ get_plotgen_parameters(grapher::json_t const &config,
.average_error_bars = config.value("average_error_bars", false),
.draw_points = config.value("draw_points", true),
.draw_median = config.value("draw_median", true),
.demangle = config.value("demangle", true)};
.demangle = config.value("demangle", true),
.plotter_config = config};
}

grapher::json_t plotter_compare_by_t::get_default_config() const {
Expand Down

0 comments on commit d9dc85c

Please sign in to comment.