# Fix: error bar colors now match curve colors#45
Open
bjreisman wants to merge 1 commit intoDoseResponse:masterfrom
Open
# Fix: error bar colors now match curve colors#45bjreisman wants to merge 1 commit intoDoseResponse:masterfrom
bjreisman wants to merge 1 commit intoDoseResponse:masterfrom
Conversation
- Error bars now inherit curve colors by default when using type = 'bars' - Add errbar.col parameter for manual control of error bar colors - Use errbar.col = 'black' to restore previous behavior - Updated documentation and examples"
4da163a to
c4c5d4b
Compare
Claude AI
added a commit
to hreinwald/drc
that referenced
this pull request
Apr 8, 2026
Integrated enhancement from DoseResponse#45: - Added errbar.col parameter to plot.drc() function - Error bars now match curve colors by default (when errbar.col=NULL) - Maintains backward compatibility (errbar.col="black" for old behavior) - Updated barFct functions to accept col parameter - Updated documentation in R/plot.drc.R and man/plot.drc.Rd - Updated NEWS.md with new feature description Agent-Logs-Url: https://github.com/hreinwald/drc/sessions/9afb7ff7-fdbc-426a-b8bd-82ef3c756602 Co-authored-by: hreinwald <115988583+hreinwald@users.noreply.github.com>
|
Thanks for this great enhancement @bjreisman. I have incorporate these changes right into the new version of the refactored drc package version 3.3.1 |
hreinwald
added a commit
to hreinwald/drc
that referenced
this pull request
Apr 13, 2026
…esponse Updated drc.plot function with the the feature that the error bar colors now match curve colors. This fix was suggested here: DoseResponse#45
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix error bar colors to match curve colors in plot.drc
Problem
When using plot.drc() with type = "bars", error bars are always black regardless of the col argument.
Solution
Error bars now inherit curve colors by default. Added errbar.col parameter for manual control.