An example of how to use the legend kwarg to generate a legend.
# Code source: Andrew Heusser
# License: MIT
# import
import hypertools as hyp
# load example data
data = hyp.tools.load('weights_sample')
# plot
hyp.plot(data, '.', legend=['Group A', 'Group B', 'Group C'])
Total running time of the script: ( 0 minutes 0.982 seconds)