Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python boxplot show mean

import matplotlib.pyplot as plt
import numpy as np

data_to_plot = np.random.rand(100,5)

fig = plt.figure(1, figsize=(9, 6))
ax = fig.add_subplot(111)    
bp = ax.boxplot(data_to_plot, showmeans=True)

plt.show()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #boxplot #show
ADD COMMENT
Topic
Name
4+1 =