Answers for "boxplot label python"

0

boxplot label python

import matplotlib.pyplot as plt

# figure related code
fig = plt.figure()
fig.suptitle('bold figure suptitle', fontsize=14, fontweight='bold')

ax = fig.add_subplot(111)
ax.boxplot(data)

ax.set_title('axes title')
ax.set_xlabel('xlabel')
ax.set_ylabel('ylabel')

plt.show()
Posted by: Guest on January-08-2022

Python Answers by Framework

Browse Popular Code Answers by Language