Skip to content

fix(plot): draw the bounds and time lines in the concrete colours of CTBase - #528

Merged
ocots merged 1 commit into
mainfrom
fix/plot-bound-colors
Nov 15, 2026
Merged

ocots merged 1 commit into
mainfrom
fix/plot-bound-colors

Conversation

@ocots

@ocots ocots commented Nov 15, 2026

Copy link
Copy Markdown
Member

Closes #527.

What changes

Tests

  • test_plot_build.jl: the bound and time lines carry the colours of Plotting.COLORS, no default colour is an integer, and a user style still replaces the default.
  • test_plot_makie.jl: with Makie, the bounds are drawn in COLORS.bound, and that colour is in no curve. This test fails on the previous default style.
  • Full suite: passes.

Release

A patch release follows once this is merged, with release.jl.

🤖 Generated with Claude Code

…CTBase

The bound lines had color=15, an index into the palette of the backend: pink with
Plots, but the colour of the first curve with Makie, whose palette has seven colours.
They now take CTBase.Plotting.COLORS.bound (the pink of Plots, so nothing changes
there) and the time lines COLORS.time. The compat of CTBase moves to 0.30.14.

Closes #527

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@ocots
ocots marked this pull request as ready for review November 15, 2026 21:18
@ocots
ocots merged commit bfaf5f3 into main Nov 15, 2026
4 checks passed
@ocots
ocots deleted the fix/plot-bound-colors branch November 15, 2026 21:19
@github-actions github-actions Bot mentioned this pull request Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bounds are drawn in the colour of the first solution on the Makie backend: use CTBase.Plotting.COLORS

1 participant