Note
Go to the end to download the full example code.
Title#
Title is for adding a title to the plot.
from marsilea.plotter import Title
import marsilea as ma
import numpy as np
data = np.random.randint(0, 10, (10, 2))
h = ma.Heatmap(data)
h.add_top(Title("Title"))
h.render()

<marsilea.heatmap.Heatmap object at 0x71422692b4d0>
Total running time of the script: (0 minutes 0.113 seconds)