matplotlib does not show my drawings although I call pyplot.show()

If I set my backend to template in ~/.matplotlib/matplotlibrc, then I can reproduce your symptoms: ~/.matplotlib/matplotlibrc: Note that the file matplotlibrc may not be in directory ~/.matplotlib/. In this case, the following code shows where it is: If you edit ~/.matplotlib/matplotlibrc and change the backend to something like GtkAgg, you should see a plot. You … Read more