min() arg is an empty sequence #error - min() arg is an empty sequence ..for the following code-

11 Views Asked by At

i am trying to plot for dataframe bioactivity class using seaborn.

plt.figure(figsize=(5.5, 5.5))

sns.countplot(x='bioactivity_class',data=df_2class,edgecolor='black')

plt.xlabel('Bioactivity class',fontsize=14,fontweight='bold')

plt.ylabel('Frequency',fontsize=14,fontweight='bold')

plt.savefig('plot_bioactivity_class.pdf')

0

There are 0 best solutions below