Skip to content

Instantly share code, notes, and snippets.

@joncle
Created September 1, 2014 06:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save joncle/cd69e402ee335c92ad4a to your computer and use it in GitHub Desktop.
Save joncle/cd69e402ee335c92ad4a to your computer and use it in GitHub Desktop.
import matplotlib
from pylab import *
import numpy as np
calls = np.random.random_integers(100, 5000, 31)
days = np.arange(1, 32)
#plt.figure(figsize=(100, 10))
bar = plt.bar(days, calls, color='#4f7094')
plt.xticks(days)
rcParams['axes.linewidth'] = 5
for rect in bar[1::2]:
rect.set_color('#1e3046')
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment