Contents
import numpy as np
import matplotlib.pyplot as plt

dx=0.2
xvals = np.arange(-3, 3+dx, dx)

yvals = np.exp(-xvals**2)

fig, ax = plt.subplots()

ax.bar(xvals, yvals, color='cyan', edgecolor=['black']*len(xvals), width=dx)

fig.show()