removed matplotlib dependency on x window