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

API Forward additional kwargs from sensitivity plot to matplotlib #434

Merged

Conversation

drewejohnson
Copy link
Collaborator

Closes #423 by allowing a **kwargs argument to be passed directly to matplotlib. Some disclaimers

  1. label and labelFmt are not allowed to be passed at the same time, since they do competing things
  2. The default drawstyle argument is steps-post like the previous steps mode - DEP Deprecate steps plot argument in favor of matplotlib drawstyle #433

Related to meta-issue #417

Closes CORE-GATECH-GROUP#423

Default drawstyle is steps-post

Related to
- CORE-GATECH-GROUP#433 - relying on `drawstyle` over `steps`
- CORE-GATECH-GROUP#417 - passing more kwargs to matplotlib plot routines
By converting to a set, the ordering of the perturbations,
like zai=["total", 922380] was not guarunteed to be consistent.
@drewejohnson drewejohnson added API - Compatible Changes to our API that require no user actions testing Related to our test suite labels Mar 22, 2021
@drewejohnson drewejohnson added this to the 0.9.4 milestone Mar 22, 2021
@drewejohnson drewejohnson requested a review from DanKotlyar March 22, 2021 14:43
Should enable the ability to examine the plots generated in testing

Signed-off-by: Andrew Johnson <[email protected]>
The legend takes up ~80% of the image and can be very difficult to test.
Small differences in font libraries seem to be most problematic

Signed-off-by: Andrew Johnson <[email protected]>
@drewejohnson drewejohnson merged commit 0008f0b into CORE-GATECH-GROUP:master Apr 13, 2021
@drewejohnson drewejohnson deleted the 423-sens-plot-args branch April 13, 2021 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API - Compatible Changes to our API that require no user actions testing Related to our test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ENH Allow underlying sensitivity plot to be configured with keyword arguments
3 participants