Note
Go to the end to download the full example code.
AnnoLabels#
AnnoLabels is to annotate some specific records in the data.
from marsilea.plotter import AnnoLabels
import numpy as np
import matplotlib.pyplot as plt
_, ax = plt.subplots()
data = np.arange(100)
anno = AnnoLabels(data, [1, 2, 3, 98, 99])
anno.set_side("right")
anno.render(ax)

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