DOC: Added documentation to __init__ method of the view object. Renamed y data variable in __init__ method.