-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
**BREAKING** change of
sampleplot
behaviour and defaults (#213)
This PR makes two breaking changes to the `sampleplot` plotting utility: 1. **Most default settings have been removed.** - `sampleplot` no longer imposes a default seriescolor. **How to obtain the previous color:** manually pass `seriescolor = "red"`. - The markers have been removed as they seemed more confusing than helpful (overwhelmingly large in the legend, almost invisibly tiny on the plot). The `linealpha` default has been increased to 0.35 to keep visual appearance the same. **How to obtain the previous markers:** If you actually liked the tiny markers, [check the diff](https://github.com/JuliaGaussianProcesses/AbstractGPs.jl/pull/213/files#diff-59728b925dcbfab15dd2def5624b3bd8b3a6a609570dc56379f69c8ee0bdef92L124-L127) for the previous default settings that you now need to pass manually. 2. **Multiple samples (`samples` kwarg > 1) are now plotted as a single series.** This means, for example, that passing a string as `label` only adds one legend entry for all samples, not one _per_ sample. **How to obtain previous behaviour:** If you actually want each sample to be a different series (for example, to give them different colors), you now need to call `sampleplot` multiple times instead. Additionally, this PR contains the following non-breaking minor changes: - minor fix: error message for check of `ribbon_scale` in `plot` recipe - internal code cleanup (`pop!` for custom-defined kwarg)
- Loading branch information
Showing
7 changed files
with
50 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7d42ab2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
7d42ab2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/43566
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: