class library: plot warns if Buffer is not allocated