simple embedded matplotlib plot