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()
plot title
<marsilea.heatmap.Heatmap object at 0x72cbe5a00c20>

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

Gallery generated by Sphinx-Gallery