Use plotting API for input var plots (jet variables)

Joschka Birk requested to merge birk-input-var-plots-jets into master


This MR is kind of a follow-up MR from !488 (merged), implementing similar changes but now for the jet variables.

This MR introduces the following changes

  • change to the plotting python API in the plot_n_tracks_per_jet function
  • change to the plotting python API in the jet input variable plots
  • removes the function plot_input_vars_jets_comparison. The function plot_input_vars_jets handles now also the case of multiple input datasets (+ratio panel in this case)
  • adding method add_bin_width_to_ylabel to histogram plotting API
  • updates the naming conventions for plot style. Backwards-compatibility is given with translate_kwargs
  • replaced code blocks of examples/plotting_input_vars.yaml with md-placeholders, which helps to keep docs and code in sync

Relates to the following issues


Edited by Joschka Birk

Merge request reports