Fixed problems with data limits when using one-sided limits (i.e. one side == 'none')
Added empty histogram plot (for no data) to avoid crash
minor changes - one commit, one movement of a legend