A basic exampleΒΆ

Here is a basic example where we load in some data (a list of arrays - samples by features), take the first two arrays in the list and plot them as points with the ‘o’. Hypertools can handle all format strings supported by matplotlib.

../_images/sphx_glr_plot_basic_001.png
# Code source: Andrew Heusser
# License: MIT

import hypertools as hyp
import scipy.io as sio
import numpy as np

data=sio.loadmat('sample_data/weights.mat')
w=[i for i in data['weights'][0][0:2]]

hyp.plot(w,'o')

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

Generated by Sphinx-Gallery