Skip to content

[FEATURE] Add ratio plot support to API #148

@matthewfeickert

Description

@matthewfeickert

As there is already the ability in hist to add a ratio plot to the bottom of the main plot, as seen in the .plot_pull() API it would be great if the ratio plot functionality (which looks super nice and clean in the plot_pull examples btw 👍) could be added to the public API. If people agree this would be useful I'd be willing to contribute a PR.

Describe the problem, if any, that your feature request is related to

I don't have a problem per say, but just would like this feature to exist so that I don't have to implement it in a library that is already using hist. matthewfeickert/heputils#22

Describe the feature you'd like

I'd like to have the ratio plot functionality that exists already in the plot_pull API to be available through a public API that would be something like .plot_ratio.

Describe alternatives, if any, you've considered

None, as this would be up to the developers to decide if this is in scope or not.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions