Skip to content

Instantly share code, notes, and snippets.

@ghoshbishakh
Created August 24, 2019 16:46
Show Gist options
  • Save ghoshbishakh/6e388b205c3108cb90c1d349daac855c to your computer and use it in GitHub Desktop.
Save ghoshbishakh/6e388b205c3108cb90c1d349daac855c to your computer and use it in GitHub Desktop.
import sys
import matplotlib
import matplotlib.pyplot as plt
import numpy as np
# plt.style.use('ggplot')
fig1, ax1 = plt.subplots()
data = [meanthreshold_finaluserlatencies, percentilethreshold_finaluserlatencies, nothing_finaluserlatencies, random_finaluserlatencies]
mylabels = ["Mean\nThreshold", "Percentile\nThreshold", "No Scaling", "Random Scaling"]
b = ax1.boxplot(data, showfliers=False, labels=mylabels, patch_artist=True)
ax1.yaxis.grid(True)
ax1.set(ylabel="Time (ms)")
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment