Latest changes for matplotlib gtk and X server errors