Skip to content

fix: plotly 6.x colorbar titleside compatibility#148

Open
foogunlana wants to merge 1 commit into
AlignmentResearch:mainfrom
foogunlana:fix/plotly6-titleside-compat
Open

fix: plotly 6.x colorbar titleside compatibility#148
foogunlana wants to merge 1 commit into
AlignmentResearch:mainfrom
foogunlana:fix/plotly6-titleside-compat

Conversation

@foogunlana
Copy link
Copy Markdown

@foogunlana foogunlana commented May 28, 2026

Summary

  • Replace deprecated flat titleside colorbar property with nested title=dict(text=..., side=...) form
  • Fixes compatibility with plotly 6.x where titleside was fully removed
  • Backwards-compatible with plotly 5.x

Fixes #147

The flat `titleside` property was removed in plotly 6.0.0. Use the
nested `title=dict(text=..., side=...)` form which is compatible with
both plotly 5.x and 6.x.

Fixes AlignmentResearch#147

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

plotly 6.x compatibility: titleside removed from ColorBar

1 participant