Commit 4be6198
Fix #2462: dynamicTicks now works with grouped geom_line
NA values in trace data (e.g., from geom_line gaps between groups) now
correctly remain as NA when mapping categorical data back to ticktext
labels. Previously, which.min() on NA values returned an empty vector
which caused an indexing error.
Fixes #2462
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 6a47185 commit 4be6198
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
843 | 843 | | |
844 | 844 | | |
845 | 845 | | |
846 | | - | |
| 846 | + | |
847 | 847 | | |
848 | 848 | | |
849 | 849 | | |
| 850 | + | |
| 851 | + | |
850 | 852 | | |
851 | 853 | | |
852 | 854 | | |
| |||
0 commit comments