Note
Click here to download the full example code
To save a plot, simply use the save_path kwarg, and specify where you want the image to be saved, including the file extension (e.g. pdf)
# Code source: Andrew Heusser
# License: MIT
# import
import hypertools as hyp
import numpy as np
# load example data
data, labels = hyp.tools.load('weights_sample')
# plot
hyp.plot(data, 'o', save_path='test-image.pdf')
Total running time of the script: ( 0 minutes 0.000 seconds)