sidhomj / DeepTCR

Deep Learning Methods for Parsing T-Cell Receptor Sequencing (TCRSeq) Data
https://sidhomj.github.io/DeepTCR/
MIT License
113 stars 40 forks source link

white space fix for radplot #13

Closed alexbaras closed 4 years ago

alexbaras commented 4 years ago

figure looks like this now

image

alexbaras commented 4 years ago

code to call is as before

`# make random data d = np.random.uniform(-1, 1, [10000, 2]) i = np.random.randint(0, 20, 10000) s = np.arange(20) s_d = np.random.uniform(0, 1, int(20 * (20 - 1) / 2)) l = np.concatenate([np.repeat('A', 10), np.repeat('B', 10)]) l_dict = {'A': 'blue', 'B': 'red'}

call rad_plot

rad_plot(d, s_d, s, l, i, l_dict, self=None, plot_type='2dhist', vmax=0.001, dg_radius=0.25, axes_radius=0.3, gridsize=50, n_pad=5, gaussian_sigma=2)`