Skip to content

Commit

Permalink
fix #2045 (#2046)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fil committed Apr 8, 2024
1 parent 00610bb commit 9435265
Show file tree
Hide file tree
Showing 3 changed files with 417 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/plot.js
Expand Up @@ -332,6 +332,7 @@ export function plot(options = {}) {
if (subtitle != null) figure.append(createTitleElement(document, subtitle, "h3"));
figure.append(...legends, svg);
if (caption != null) figure.append(createFigcaption(document, caption));
if ("value" in svg) (figure.value = svg.value), delete svg.value;
}

figure.scale = exposeScales(scales.scales);
Expand Down

0 comments on commit 9435265

Please sign in to comment.