show_probability_graph() using matplotlib