Hi i have a dataframe called metrics which has 2 rows × 31 columns.
I am plotting a graph using this:
unit_ids = sorting_rec.unit_ids
plt.figure(figsize=(12, 8))
sw.plot_unit_templates(we, unit_ids=unit_ids)
plt.suptitle(name, fontsize=12, y=0.01)
plt.tight_layout(rect=[0, 0.05, 1, 1])
plt.savefig(name+"_xx.png", bbox_inches='tight')
My PI wants me to plot the related dataframe also side by side as a subplot so that it is easy to see the values and the graph both at the same time.
I tried some methods but the output is not something that I desire, the ouput looks like this :
