Generally, these two have never been considered good partners to the point where they're considered incompatible. This comes due to the fact that water would be circulating too much on their roots, and it doesn't take us much to realize why.  Therefore if you really need live plants in your aquarium with an undergravel filter, you should either place a barrier between the gravel and the plate in areas where you'll be planting or wither blind pot your plants.