Since Hypertools is based on matplotlib, you can use matplotlib to change plot attributes.
Traceback (most recent call last):
File "/Users/andyheusser/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/sphinx_gallery/gen_rst.py", line 475, in execute_code_block
exec(code_block, example_globals)
File "<string>", line 12, in <module>
TypeError: plot() got an unexpected keyword argument 'return_data'
# Code source: Andrew Heusser
# License: MIT
import hypertools as hyp
import scipy.io as sio
import numpy as np
import matplotlib.pyplot as plt
data = hyp.tools.load('weights_sample')
fig,ax,data = hyp.plot(data[:2], '.', ndims=2, legend=['Group A', 'Group B'], show=False, return_data=True)
ax.set_title('This is an example title', fontsize=20)
ax.set_ylabel('PCA Dimension 2', fontsize=15)
ax.set_xlabel('PCA Dimension 1', fontsize=15)
legend_text = plt.gca().get_legend().get_texts()
plt.setp(legend_text, fontsize=15)
plt.show()
Total running time of the script: ( 0 minutes 0.000 seconds)