made qpt availalbe even if matplotlib isnt found