(plot_2d_diagram): Change default to show_function=True
(extremality_test): First show 2d diagram, then test minimality.