fix doctesting of matplotlib stuff in plotting/plot_*.py