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()

Total running time of the script: (0 minutes 0.289 seconds)