Skip to content

Conversation

ilumsden
Copy link
Collaborator

This PR adds the following new, optional arguments and corresponding features to thicket.stats.display_boxplot:

  • column_mapping (default: None): renames the columns specified in the columns argument using the provided dictionary
  • legend_title (default: "Performance counter"): changes the title of the legend to the specified string
  • return_mpl (default: True): if True, display_boxplot returns a matplotlib.pyplot.Axes object. If False, display_boxplot returns a seaborn.FacetGrid object, which gives users more control over the design of their plot at the cost of a more complicated API

ilumsden added 3 commits July 27, 2024 22:38
* column_mapping: a dictionary mapping the names in 'columns' to the desired names on the plot
* legend_title: a string specifying the title to use for the legend of the boxplot
* return_mpl: a bool dictating whether to return a matplotlib.pyplot.Axes object (True) or a seaborn.FacetGrid object (False)
@ilumsden ilumsden added area-stats Issues and PRs related to Thicket's stats subpackage priority-normal Normal priority issues and PRs status-ready-for-review This PR is ready to be reviewed by assigned reviewers type-feature Requests for new features or PRs which implement new features labels Jul 28, 2024
@ilumsden ilumsden self-assigned this Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-stats Issues and PRs related to Thicket's stats subpackage priority-normal Normal priority issues and PRs status-ready-for-review This PR is ready to be reviewed by assigned reviewers type-feature Requests for new features or PRs which implement new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant