Skip to content

Adding histograms to new plotting python API

Joschka Birk requested to merge birk-plotting-histograms into master

Summary

This MR introduces the following changes:

  • support for histogram plots with the new plotting python API
    • added histogram.py which builds on top of plot_base
    • added example scripts which use dummy data
  • fix typo in ROC plot docs

Relates to the following issues

Examples

The goal is to keep the code as general as possible, such that all the plots we currently produce with umami can be simplified while at the same time providing flexible code for scenarios where people want to deviate from the default plots.

The code for the following example plots is stored in examples/plotting and put in the documentation.

Conformity

ToDos

  • implement first version
  • add unit tests
  • improve errors messages / logging in histogram plots
  • add support for histtype parameter of hist()
  • add documentation
  • add simple example scripts (maybe in combination with documentation)
Edited by Joschka Birk

Merge request reports