add title
This commit is contained in:
parent
b937e3e1b5
commit
2ab62c83a7
2
plots.ts
2
plots.ts
|
@ -54,7 +54,7 @@ export function sideBySidePlot(opts: {
|
|||
})
|
||||
plt.setAttribute('xmlns', 'http://www.w3.org/2000/svg')
|
||||
const svgUrl = `data:image/svg+xml;base64,${btoa(unescape(encodeURIComponent(plt)))}`
|
||||
imgTags.push(`<img src='${svgUrl}'>`)
|
||||
imgTags.push(`<img title="${xTarget} / ${yTarget}" src='${svgUrl}'>`)
|
||||
}
|
||||
}
|
||||
const output = `
|
||||
|
|
Loading…
Reference in a new issue