Heatmap
# Generated by LayMesh Jupyter; edit the Notebook cell instead.page = canvas(size=(120 mm, 80 mm), background="#f7f9fc")plot = image(src="heatmap.assets/fig-be7ca6af9345e8f0.png")placed = page.add(plot,size=(104 mm, 58 mm), fit=contain, target=page.top_left, offset=(8 mm, 8 mm))caption = text(content="Heatmap fallback", font_family="DejaVu Sans", font_size=10 pt, color="#203864")page.add(caption, target=page.bottom_left, offset=(8 mm, -11 mm))# Generated by LayMesh Jupyter; edit the Notebook cell instead.page = canvas(size=(120 mm, 80 mm), background="#f7f9fc")plot = image(src="heatmap.assets/fig-be7ca6af9345e8f0.png")placed = page.add(plot,size=(104 mm, 58 mm), fit=contain, target=page.top_left, offset=(8 mm, 8 mm))caption = text(content="Heatmap fallback", font_family="DejaVu Sans", font_size=10 pt, color="#203864")page.add(caption, target=page.bottom_left, offset=(8 mm, -11 mm))Preview
Background
Dependencies
examples/gallery/notebook/heatmap.assets/fig-be7ca6af9345e8f0.pngexamples/gallery/notebook/heatmap.lay
Reproduce
laymesh validate examples/gallery/notebook/heatmap.laylaymesh render examples/gallery/notebook/heatmap.lay -o figure.svglaymesh render examples/gallery/notebook/heatmap.lay -o figure.pdflaymesh render examples/gallery/notebook/heatmap.lay -o figure.png --dpi 300