#!/usr/bin/python3
import matplotlib
matplotlib.use('Agg') #non interactive backend
import matplotlib.pyplot as plt
import numpy as np

def main():
	x=np.random.rand(50)
	x=np.random.normal(0,1,100)
	plt.hist(x,bins=30,edgecolor='black')
	plt.xlabel('Value')
	plt.ylabel('Freq')
	plt.title('Histogram Plot')
	plt.grid(True)
	plt.savefig("graf3.png",dpi=300,transparent=True)
if __name__=="__main__":
	main()
