Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds several new features to display_boxplot #200

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

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