set graph height to 1 instead of 0 to prevent error