Question: histogram plot error

Hi, 

When I try the example of a histogram plot from the help system (under Statistics, Histogram), I get an error.

The example (entered in document mode) and error follow below.  Can someone please shed light on this?

with Statistics; with(plots):
N := RandomVariable(Normal(0, 1)):
A := Sample(N, 1000):
P := DensityPlot(Normal(0, 1), color = "Niagara Red"):
Q := Histogram(A, averageshifted = 4, style = polygon, color = "LightSlateGrey"):
plots[display](Q, P);

Error, (in plots:-display) expecting plot structure but received: Histogram(Sample(RandomVariable(Normal(0, 1)), 1000), averageshifted = 4, style = polygon, color = "LightSlateGrey")

Please Wait...