Skip to content

Instantly share code, notes, and snippets.

@bryevdv
Created August 13, 2026 15:09
Show Gist options
  • Select an option

  • Save bryevdv/050a21c59449998842a84706df8097f2 to your computer and use it in GitHub Desktop.

Select an option

Save bryevdv/050a21c59449998842a84706df8097f2 to your computer and use it in GitHub Desktop.
Bokeh 3.10.0 adapted backport range diffs
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Bokeh PR #15139 — dual-color range diff</title>
<style>
:root { color-scheme: light; }
body {
margin: 0;
background: #ffffff;
color: #1f2328;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
header {
padding: 16px 20px;
border-bottom: 1px solid #d0d7de;
font-family: system-ui, sans-serif;
}
h1 { margin: 0 0 6px; font-size: 18px; }
p { margin: 0; color: #57606a; font-size: 14px; }
a { color: #0969da; }
.binary-notice {
margin: 16px 20px 0;
padding: 12px 14px;
border: 1px solid #d4a72c;
border-radius: 6px;
background: #fff8c5;
font: 14px/1.45 system-ui, sans-serif;
}
.binary-notice strong { display: block; margin-bottom: 4px; }
.binary-notice ul { margin: 6px 0 0; padding-left: 24px; }
.binary-notice code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.diff-added { background: rgb(26 127 55 / 10%); }
.diff-removed { background: rgb(207 34 46 / 10%); }
pre {
margin: 0;
padding: 20px;
overflow: auto;
font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
tab-size: 8;
}
</style>
</head>
<body>
<header>
<h1>Bokeh PR #15139 — dual-color range diff</h1>
<p>
<a href="https://github.com/bokeh/bokeh/commit/681880b19108a37e159b7a3d185611f04112c47b">original</a>
<a href="https://github.com/bokeh/bokeh/commit/7ac7c0d36074cc74b366366f3e8663f6ee76ac62">backport</a>
</p>
</header>
<pre><code><span style="color: #cf222e; text-decoration-color: #cf222e; font-weight: bold">1: 681880b191 </span><span style="color: #9a6700; text-decoration-color: #9a6700; font-weight: bold">!</span><span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold"> 1: 7ac7c0d360</span><span style="color: #9a6700; text-decoration-color: #9a6700; font-weight: bold"> allow html escape for datatable column titles (#15139)</span>
<span style="background-color: #fbefff; color: #8250df; font-weight: bold">@@</span> <span style="color: #afafd7; text-decoration-color: #afafd7; font-weight: bold">Commit message</span>
---------
Co-authored-by: Bryan Van de Ven &lt;bryan@bokeh.org&gt;
<span class="diff-added"> <span style="background-color: #dafbe1; color: #1a7f37; font-weight: bold">+</span><span style="font-weight: bold"> (cherry picked from commit 681880b19108a37e159b7a3d185611f04112c47b)</span></span>
## bokehjs/src/lib/models/widgets/tables/data_cube.ts ##
<span style="color: #8250df; text-decoration-color: #8250df; font-weight: bold"> @@ bokehjs/src/lib/models/widgets/tables/data_cube.ts: export class DataCubeView extends DataTableView {</span>
<span style="background-color: #fbefff; color: #8250df; font-weight: bold">@@</span> <span style="color: #afafd7; text-decoration-color: #afafd7; font-weight: bold">bokehjs/src/lib/models/widgets/tables/data_table.ts: export class DataTableView</span>
<span style="color: #8250df; text-decoration-color: #8250df; font-weight: bold"> @@ bokehjs/src/lib/models/widgets/tables/data_table.ts: export class DataTableView extends WidgetView {</span>
protected wrapper_el: HTMLElement
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8f9193; text-decoration-color: #8f9193"> override _children_views(): ChildView[] {</span></span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #e79096; text-decoration-color: #e79096">- return [...super._children_views(), this.cds_view]</span></span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8cbf9b; text-decoration-color: #8cbf9b">+ return [...super._children_views(), this.cds_view, ...this._column_views.values()]</span></span>
<span class="diff-added"> <span style="background-color: #dafbe1; color: #1a7f37; font-weight: bold">+</span><span style="font-weight: bold"> override children_views(): ChildView[] {</span></span>
<span class="diff-added"> <span style="background-color: #dafbe1; color: #1a7f37; font-weight: bold">+</span><span style="color: #cf222e; text-decoration-color: #cf222e; font-weight: bold">- return [...super.children_views(), this.cds_view]</span></span>
<span class="diff-added"> <span style="background-color: #dafbe1; color: #1a7f37; font-weight: bold">+</span><span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold">+ return [...super.children_views(), this.cds_view, ...this._column_views.values()]</span></span>
}
override async lazy_initialize(): Promise&lt;void&gt; {
<span style="background-color: #fbefff; color: #8250df; font-weight: bold">@@</span> <span style="color: #afafd7; text-decoration-color: #afafd7; font-weight: bold">bokehjs/src/lib/models/widgets/tables/table_column.ts: export namespace TableCol</span>
<span class="diff-added"> <span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold"> +</span></span>
<span class="diff-added"> <span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold"> + title_view?: HTMLView</span></span>
<span class="diff-added"> <span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold"> +</span></span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8cbf9b; text-decoration-color: #8cbf9b">+ protected override _children_views(): ChildView[] {</span></span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8cbf9b; text-decoration-color: #8cbf9b">+ return [...super._children_views(), this.title_view]</span></span>
<span class="diff-added"> <span style="background-color: #dafbe1; color: #1a7f37; font-weight: bold">+</span><span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold">+ override children_views(): ChildView[] {</span></span>
<span class="diff-added"> <span style="background-color: #dafbe1; color: #1a7f37; font-weight: bold">+</span><span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold">+ return [...super.children_views(), this.title_view]</span></span>
<span class="diff-added"> <span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold"> + }</span></span>
<span class="diff-added"> <span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold"> +</span></span>
<span class="diff-added"> <span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold"> + override async lazy_initialize(): Promise&lt;void&gt; {</span></span>
<span style="background-color: #fbefff; color: #8250df; font-weight: bold">@@</span> <span style="color: #afafd7; text-decoration-color: #afafd7; font-weight: bold">bokehjs/test/integration/widgets.ts: describe(&quot;Widgets&quot;, () =&gt; {</span>
data: {
## bokehjs/test/unit/regressions.ts ##
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8250df; text-decoration-color: #8250df; font-weight: bold">@@ bokehjs/test/unit/regressions.ts: import {PlotActions, actions, xy, line, tap, mouse_click, scroll_up, scroll_down</span></span>
<span class="diff-added"> <span style="background-color: #dafbe1; color: #1a7f37; font-weight: bold">+</span><span style="color: #8250df; text-decoration-color: #8250df; font-weight: bold">@@ bokehjs/test/unit/regressions.ts: import {restorable} from &quot;#framework/util&quot;</span></span>
<span class="diff-added"> <span style="background-color: #dafbe1; color: #1a7f37; font-weight: bold">+</span><span style="font-weight: bold"> import {PlotActions, actions, xy, line, tap, mouse_click, scroll_up, scroll_down} from &quot;#framework/interactive&quot;</span></span>
import {convert_to_uint32_palette} from &quot;@bokehjs/models/mappers/color_mapper&quot;
import type {PlotView} from &quot;@bokehjs/models/plots/plot&quot;
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8f9193; text-decoration-color: #8f9193"> import type {ViewOf} from &quot;@bokehjs/core/build_views&quot;</span></span>
<span class="diff-added"> <span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold"> +import {build_view} from &quot;@bokehjs/core/build_views&quot;</span></span>
import {
<span style="background-color: #fbefff; color: #8250df; font-weight: bold">@@</span> <span style="color: #afafd7; text-decoration-color: #afafd7; font-weight: bold">src/bokeh/models/widgets/tables.py: class TableColumn(Model):</span>
## src/bokeh/models/widgets/tables.pyi ##
<span style="color: #8250df; text-decoration-color: #8250df; font-weight: bold"> @@ src/bokeh/models/widgets/tables.pyi: from ...core.enums import (</span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8f9193; text-decoration-color: #8f9193"> )</span></span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8f9193; text-decoration-color: #8f9193"> from ...model.model import Model, _ModelInit</span></span>
<span class="diff-added"> <span style="background-color: #dafbe1; color: #1a7f37; font-weight: bold">+</span><span style="font-weight: bold"> from ...core.has_props import abstract</span></span>
<span class="diff-added"> <span style="background-color: #dafbe1; color: #1a7f37; font-weight: bold">+</span><span style="font-weight: bold"> from ...model import Model</span></span>
from ..comparisons import Comparison
<span class="diff-added"> <span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold"> +from ..dom import HTML</span></span>
from ..sources import (
CDSView,
ColumnDataSource,
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8250df; text-decoration-color: #8250df; font-weight: bold">@@ src/bokeh/models/widgets/tables.pyi: class SumAggregator(RowAggregator):</span></span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8f9193; text-decoration-color: #8f9193"> </span></span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8f9193; text-decoration-color: #8f9193"> class _TableColumnInit(_ModelInit, total=False):</span></span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8f9193; text-decoration-color: #8f9193"> field: str</span></span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #e79096; text-decoration-color: #e79096">- title: str | None</span></span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8cbf9b; text-decoration-color: #8cbf9b">+ title: str | HTML | None</span></span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8f9193; text-decoration-color: #8f9193"> width: int</span></span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8f9193; text-decoration-color: #8f9193"> formatter: CellFormatter</span></span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8f9193; text-decoration-color: #8f9193"> editor: CellEditor</span></span>
<span style="color: #8250df; text-decoration-color: #8250df; font-weight: bold"> @@ src/bokeh/models/widgets/tables.pyi: class TableColumn(Model):</span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8f9193; text-decoration-color: #8f9193"> def __init__(self, **kwargs: Unpack[_TableColumnInit]) -&gt; None: ...</span></span>
field: str = ...
<span class="diff-added"> <span style="background-color: #dafbe1; color: #1a7f37; font-weight: bold">+</span><span style="font-weight: bold"> </span></span>
<span class="diff-removed"> <span style="color: #cf222e; text-decoration-color: #cf222e; font-weight: bold"> - title: str | None = ...</span></span>
<span class="diff-added"> <span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold"> + title: str | HTML | None = ...</span></span>
<span class="diff-added"> <span style="background-color: #dafbe1; color: #1a7f37; font-weight: bold">+</span><span style="font-weight: bold"> </span></span>
width: int = ...
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8f9193; text-decoration-color: #8f9193"> formatter: CellFormatter = ...</span></span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8f9193; text-decoration-color: #8f9193"> editor: CellEditor = ...</span></span>
<span class="diff-added"> <span style="background-color: #dafbe1; color: #1a7f37; font-weight: bold">+</span><span style="font-weight: bold"> </span></code></pre></span>
</body>
</html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Bokeh PR #15310 — dual-color range diff</title>
<style>
:root { color-scheme: light; }
body {
margin: 0;
background: #ffffff;
color: #1f2328;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
header {
padding: 16px 20px;
border-bottom: 1px solid #d0d7de;
font-family: system-ui, sans-serif;
}
h1 { margin: 0 0 6px; font-size: 18px; }
p { margin: 0; color: #57606a; font-size: 14px; }
a { color: #0969da; }
.binary-notice {
margin: 16px 20px 0;
padding: 12px 14px;
border: 1px solid #d4a72c;
border-radius: 6px;
background: #fff8c5;
font: 14px/1.45 system-ui, sans-serif;
}
.binary-notice strong { display: block; margin-bottom: 4px; }
.binary-notice ul { margin: 6px 0 0; padding-left: 24px; }
.binary-notice code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.diff-added { background: rgb(26 127 55 / 10%); }
.diff-removed { background: rgb(207 34 46 / 10%); }
pre {
margin: 0;
padding: 20px;
overflow: auto;
font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
tab-size: 8;
}
</style>
</head>
<body>
<header>
<h1>Bokeh PR #15310 — dual-color range diff</h1>
<p>
<a href="https://github.com/bokeh/bokeh/commit/9e01f31ee8e45b47ad1e87d61bd82db1df2bc227">original</a>
<a href="https://github.com/bokeh/bokeh/commit/4d844bb4bceb2ba6682b6043825bf3442183bf8d">backport</a>
</p>
</header>
<pre><code><span style="color: #cf222e; text-decoration-color: #cf222e; font-weight: bold">1: 9e01f31ee8 </span><span style="color: #9a6700; text-decoration-color: #9a6700; font-weight: bold">!</span><span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold"> 1: 4d844bb4bc</span><span style="color: #9a6700; text-decoration-color: #9a6700; font-weight: bold"> Don&#x27;t use mypy&#x27;s caching in CI (#15310)</span>
<span style="background-color: #fbefff; color: #8250df; font-weight: bold">@@</span> <span style="color: #afafd7; text-decoration-color: #afafd7; font-weight: bold">Metadata</span>
## Commit message ##
Don&#x27;t use mypy&#x27;s caching in CI (#15310)
<span class="diff-added"> <span style="background-color: #dafbe1; color: #1a7f37; font-weight: bold">+</span><span style="font-weight: bold"> (cherry picked from commit 9e01f31ee8e45b47ad1e87d61bd82db1df2bc227)</span></span>
<span class="diff-added"> <span style="background-color: #dafbe1; color: #1a7f37; font-weight: bold">+</span></span>
## .github/workflows/bokeh-ci-full.yml ##
<span style="color: #8250df; text-decoration-color: #8250df; font-weight: bold"> @@ .github/workflows/bokeh-ci-full.yml: jobs:</span>
- name: Check library types with mypy
<span style="background-color: #fbefff; color: #8250df; font-weight: bold">@@</span> <span style="color: #afafd7; text-decoration-color: #afafd7; font-weight: bold">.github/workflows/bokeh-ci-full.yml: jobs:</span>
mypy --version
<span class="diff-removed"> <span style="color: #cf222e; text-decoration-color: #cf222e; font-weight: bold"> - mypy --show-traceback</span></span>
<span class="diff-added"> <span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold"> + mypy --no-sqlite-cache --show-traceback</span></span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8f9193; text-decoration-color: #8f9193"> - name: Check types in examples with mypy</span></span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8f9193; text-decoration-color: #8f9193"> run: |</span></span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8f9193; text-decoration-color: #8f9193"> mypy --version</span></span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #e79096; text-decoration-color: #e79096">- mypy --show-traceback --config-file examples/mypy.cfg examples/basic/scatters/color_scatter.py</span></span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8cbf9b; text-decoration-color: #8cbf9b">+ mypy --no-sqlite-cache --show-traceback --config-file examples/mypy.cfg examples/basic/scatters/color_scatter.py</span></span>
- name: Check library types with pyright
run: |
pyright --version
<span style="background-color: #fbefff; color: #8250df; font-weight: bold">@@</span> <span style="color: #afafd7; text-decoration-color: #afafd7; font-weight: bold">.github/workflows/bokeh-ci.yml: jobs:</span>
<span class="diff-removed"> <span style="color: #cf222e; text-decoration-color: #cf222e; font-weight: bold"> - mypy --version &amp;&amp; mypy</span></span>
<span class="diff-added"> <span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold"> + mypy --version</span></span>
<span class="diff-added"> <span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold"> + mypy --no-sqlite-cache --show-traceback</span></span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8f9193; text-decoration-color: #8f9193"> - name: Check types in examples with mypy</span></span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8f9193; text-decoration-color: #8f9193"> run: |</span></span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #e79096; text-decoration-color: #e79096">- mypy --version &amp;&amp; mypy --config-file examples/mypy.cfg examples/basic/scatters/color_scatter.py</span></span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8cbf9b; text-decoration-color: #8cbf9b">+ mypy --version</span></span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8cbf9b; text-decoration-color: #8cbf9b">+ mypy --no-sqlite-cache --show-traceback --config-file examples/mypy.cfg examples/basic/scatters/color_scatter.py</span></span>
- name: Check library types with pyright
run: |
pyright --version &amp;&amp; pyright</code></pre>
</body>
</html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Bokeh PR #15323 — dual-color range diff</title>
<style>
:root { color-scheme: light; }
body {
margin: 0;
background: #ffffff;
color: #1f2328;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
header {
padding: 16px 20px;
border-bottom: 1px solid #d0d7de;
font-family: system-ui, sans-serif;
}
h1 { margin: 0 0 6px; font-size: 18px; }
p { margin: 0; color: #57606a; font-size: 14px; }
a { color: #0969da; }
.binary-notice {
margin: 16px 20px 0;
padding: 12px 14px;
border: 1px solid #d4a72c;
border-radius: 6px;
background: #fff8c5;
font: 14px/1.45 system-ui, sans-serif;
}
.binary-notice strong { display: block; margin-bottom: 4px; }
.binary-notice ul { margin: 6px 0 0; padding-left: 24px; }
.binary-notice code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.diff-added { background: rgb(26 127 55 / 10%); }
.diff-removed { background: rgb(207 34 46 / 10%); }
pre {
margin: 0;
padding: 20px;
overflow: auto;
font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
tab-size: 8;
}
</style>
</head>
<body>
<header>
<h1>Bokeh PR #15323 — dual-color range diff</h1>
<p>
<a href="https://github.com/bokeh/bokeh/commit/cfa27924b09776f94e1c7e2054e723c930679e4e">original</a>
<a href="https://github.com/bokeh/bokeh/commit/4f8616f9c0e4ad39322ce851c075924a40bcb2bd">backport</a>
</p>
</header>
<pre><code><span style="color: #cf222e; text-decoration-color: #cf222e; font-weight: bold">1: cfa27924b0 </span><span style="color: #9a6700; text-decoration-color: #9a6700; font-weight: bold">!</span><span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold"> 1: 4f8616f9c0</span><span style="color: #9a6700; text-decoration-color: #9a6700; font-weight: bold"> Regression test for fitting rounded numbers in DataTable (#15323)</span>
<span style="background-color: #fbefff; color: #8250df; font-weight: bold">@@</span> <span style="color: #afafd7; text-decoration-color: #afafd7; font-weight: bold">Commit message</span>
* fix viewport
<span class="diff-added"> <span style="background-color: #dafbe1; color: #1a7f37; font-weight: bold">+</span><span style="font-weight: bold"> (cherry picked from commit cfa27924b09776f94e1c7e2054e723c930679e4e)</span></span>
<span class="diff-added"> <span style="background-color: #dafbe1; color: #1a7f37; font-weight: bold">+</span></span>
## bokehjs/test/baselines/linux/Bug__in_issue_#11436__doesn&#x27;t_fit_column_to_rounded_number_in_DataTable_with_autosize_mode=&#x27;fit_viewport&#x27;.blf (new) ##
<span style="color: #8250df; text-decoration-color: #8250df; font-weight: bold"> @@</span>
<span class="diff-added"> <span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold"> +DataTable bbox=[0, 0, 316, 400]</span></span>
<span style="background-color: #fbefff; color: #8250df; font-weight: bold">@@</span> <span style="color: #afafd7; text-decoration-color: #afafd7; font-weight: bold">bokehjs/test/integration/regressions.ts: import {</span>
import type {Factor} from &quot;@bokehjs/models/ranges/factor_range&quot;
<span style="color: #8250df; text-decoration-color: #8250df; font-weight: bold"> @@ bokehjs/test/integration/regressions.ts: describe(&quot;Bug&quot;, () =&gt; {</span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8f9193; text-decoration-color: #8f9193"> ).to.be.true</span></span>
<span class="diff-added"> <span style="background-color: #dafbe1; color: #1a7f37; font-weight: bold">+</span><span style="font-weight: bold"> await display(table, [1000, 250])</span></span>
})
})
<span class="diff-added"> <span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold"> +</span></code></pre></span>
</body>
</html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Bokeh PR #15330 — dual-color range diff</title>
<style>
:root { color-scheme: light; }
body {
margin: 0;
background: #ffffff;
color: #1f2328;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
header {
padding: 16px 20px;
border-bottom: 1px solid #d0d7de;
font-family: system-ui, sans-serif;
}
h1 { margin: 0 0 6px; font-size: 18px; }
p { margin: 0; color: #57606a; font-size: 14px; }
a { color: #0969da; }
.binary-notice {
margin: 16px 20px 0;
padding: 12px 14px;
border: 1px solid #d4a72c;
border-radius: 6px;
background: #fff8c5;
font: 14px/1.45 system-ui, sans-serif;
}
.binary-notice strong { display: block; margin-bottom: 4px; }
.binary-notice ul { margin: 6px 0 0; padding-left: 24px; }
.binary-notice code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.diff-added { background: rgb(26 127 55 / 10%); }
.diff-removed { background: rgb(207 34 46 / 10%); }
pre {
margin: 0;
padding: 20px;
overflow: auto;
font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
tab-size: 8;
}
</style>
</head>
<body>
<header>
<h1>Bokeh PR #15330 — dual-color range diff</h1>
<p>
<a href="https://github.com/bokeh/bokeh/commit/19115269a8da0c49459fc4bc8d2eeb879ed0a1e9">original</a>
<a href="https://github.com/bokeh/bokeh/commit/c3e66d653b467014c89e1a655de65b1c980a59f2">backport</a>
</p>
</header>
<pre><code><span style="color: #cf222e; text-decoration-color: #cf222e; font-weight: bold">1: 19115269a8 </span><span style="color: #9a6700; text-decoration-color: #9a6700; font-weight: bold">!</span><span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold"> 1: c3e66d653b</span><span style="color: #9a6700; text-decoration-color: #9a6700; font-weight: bold"> Regression test for reflecting inplace data updates in DataTable (#15330)</span>
<span style="background-color: #fbefff; color: #8250df; font-weight: bold">@@</span> <span style="color: #afafd7; text-decoration-color: #afafd7; font-weight: bold">Commit message</span>
* added baseline
<span class="diff-added"> <span style="background-color: #dafbe1; color: #1a7f37; font-weight: bold">+</span><span style="font-weight: bold"> (cherry picked from commit 19115269a8da0c49459fc4bc8d2eeb879ed0a1e9)</span></span>
<span class="diff-added"> <span style="background-color: #dafbe1; color: #1a7f37; font-weight: bold">+</span></span>
## bokehjs/test/baselines/linux/Bug__in_issue_#15328__doesn&#x27;t_update_a_DataTable_when_its_source&#x27;s_data_is_mutated_in_place_and_change.emit()_is_called.blf (new) ##
<span style="color: #8250df; text-decoration-color: #8250df; font-weight: bold"> @@</span>
<span class="diff-added"> <span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold"> +DataTable bbox=[0, 0, 320, 180]</span></span>
<span style="background-color: #fbefff; color: #8250df; font-weight: bold">@@</span> <span style="color: #afafd7; text-decoration-color: #afafd7; font-weight: bold">bokehjs/test/baselines/linux/Bug__in_issue_#15328__doesn&#x27;t_update_a_DataTable_wh</span>
## bokehjs/test/integration/regressions.ts ##
<span style="color: #8250df; text-decoration-color: #8250df; font-weight: bold"> @@ bokehjs/test/integration/regressions.ts: describe(&quot;Bug&quot;, () =&gt; {</span>
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8f9193; text-decoration-color: #8f9193"> await paint()</span></span>
<span class="diff-added"> <span style="background-color: #dafbe1; color: #1a7f37; font-weight: bold">+</span><span style="font-weight: bold"> await display(table, [450, 320])</span></span>
})
})
<span class="diff-removed"> <span style="background-color: #ffebe9; color: #cf222e; font-weight: bold">-</span><span style="color: #8cbf9b; text-decoration-color: #8cbf9b">+</span></span>
<span class="diff-added"> <span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold"> + describe(&quot;in issue #15328&quot;, () =&gt; {</span></span>
<span class="diff-added"> <span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold"> + it(&quot;doesn&#x27;t update a DataTable when its source&#x27;s data is mutated in place and change.emit() is called&quot;, async () =&gt; {</span></span>
<span class="diff-added"> <span style="color: #1a7f37; text-decoration-color: #1a7f37; font-weight: bold"> + const source = new ColumnDataSource({</span></code></pre></span>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment