in a medium-sized mixing bowl, stir together mayonnaise, sour cream, parmesan cheese and onion. when these ingredients are combined, mix in artichoke hearts, lemon juice, salt and pepper. transfer mixture to a shallow baking dish. bake at 400 degrees f (200 degrees c) for 20 minutes, or until light brown on top.